summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-04-01 00:17:00 +0300
committerJonathan Corbet <corbet@lwn.net>2017-04-02 23:17:43 +0300
commitc7e2c0643d7850ff41a0b24d8c11f2a856bb4537 (patch)
treefa5f1fa5466140cd754bb035d852564a65147ec4
parent61c8830bc18dc035fa9d7a9538c735846edbc623 (diff)
downloadlinux-c7e2c0643d7850ff41a0b24d8c11f2a856bb4537.tar.xz
docs-rst: core_api: move driver-specific stuff to drivers_api
There are several stuff there that are actually driver-specific. Move those to the driver_api book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/core-api/kernel-api.rst72
-rw-r--r--Documentation/driver-api/firmware/index.rst1
-rw-r--r--Documentation/driver-api/firmware/other_interfaces.rst15
-rw-r--r--Documentation/driver-api/index.rst2
-rw-r--r--Documentation/driver-api/misc_devices.rst5
-rw-r--r--Documentation/driver-api/pci.rst50
6 files changed, 73 insertions, 72 deletions
diff --git a/Documentation/core-api/kernel-api.rst b/Documentation/core-api/kernel-api.rst
index 9a3d3597a6b7..9ec8488319dc 100644
--- a/Documentation/core-api/kernel-api.rst
+++ b/Documentation/core-api/kernel-api.rst
@@ -228,72 +228,6 @@ MTRR Handling
.. kernel-doc:: arch/x86/kernel/cpu/mtrr/main.c
:export:
-PCI Support Library
--------------------
-
-.. kernel-doc:: drivers/pci/pci.c
- :export:
-
-.. kernel-doc:: drivers/pci/pci-driver.c
- :export:
-
-.. kernel-doc:: drivers/pci/remove.c
- :export:
-
-.. kernel-doc:: drivers/pci/search.c
- :export:
-
-.. kernel-doc:: drivers/pci/msi.c
- :export:
-
-.. kernel-doc:: drivers/pci/bus.c
- :export:
-
-.. kernel-doc:: drivers/pci/access.c
- :export:
-
-.. kernel-doc:: drivers/pci/irq.c
- :export:
-
-.. kernel-doc:: drivers/pci/htirq.c
- :export:
-
-.. kernel-doc:: drivers/pci/probe.c
- :export:
-
-.. kernel-doc:: drivers/pci/slot.c
- :export:
-
-.. kernel-doc:: drivers/pci/rom.c
- :export:
-
-.. kernel-doc:: drivers/pci/iov.c
- :export:
-
-.. kernel-doc:: drivers/pci/pci-sysfs.c
- :internal:
-
-PCI Hotplug Support Library
----------------------------
-
-.. kernel-doc:: drivers/pci/hotplug/pci_hotplug_core.c
- :export:
-
-Firmware Interfaces
-===================
-
-DMI Interfaces
---------------
-
-.. kernel-doc:: drivers/firmware/dmi_scan.c
- :export:
-
-EDD Interfaces
---------------
-
-.. kernel-doc:: drivers/firmware/edd.c
- :internal:
-
Security Framework
==================
@@ -372,12 +306,6 @@ Char devices
.. kernel-doc:: fs/char_dev.c
:export:
-Miscellaneous Devices
-=====================
-
-.. kernel-doc:: drivers/char/misc.c
- :export:
-
Clock Framework
===============
diff --git a/Documentation/driver-api/firmware/index.rst b/Documentation/driver-api/firmware/index.rst
index 1abe01793031..29da39ec4b8a 100644
--- a/Documentation/driver-api/firmware/index.rst
+++ b/Documentation/driver-api/firmware/index.rst
@@ -7,6 +7,7 @@ Linux Firmware API
introduction
core
request_firmware
+ other_interfaces
.. only:: subproject and html
diff --git a/Documentation/driver-api/firmware/other_interfaces.rst b/Documentation/driver-api/firmware/other_interfaces.rst
new file mode 100644
index 000000000000..36c47b1e9824
--- /dev/null
+++ b/Documentation/driver-api/firmware/other_interfaces.rst
@@ -0,0 +1,15 @@
+Other Firmware Interfaces
+=========================
+
+DMI Interfaces
+--------------
+
+.. kernel-doc:: drivers/firmware/dmi_scan.c
+ :export:
+
+EDD Interfaces
+--------------
+
+.. kernel-doc:: drivers/firmware/edd.c
+ :internal:
+
diff --git a/Documentation/driver-api/index.rst b/Documentation/driver-api/index.rst
index 60db00d1532b..585982e36b3d 100644
--- a/Documentation/driver-api/index.rst
+++ b/Documentation/driver-api/index.rst
@@ -27,6 +27,7 @@ available subsections can be seen below.
iio/index
input
usb
+ pci
spi
i2c
hsi
@@ -36,6 +37,7 @@ available subsections can be seen below.
80211/index
uio-howto
firmware/index
+ misc_devices
.. only:: subproject and html
diff --git a/Documentation/driver-api/misc_devices.rst b/Documentation/driver-api/misc_devices.rst
new file mode 100644
index 000000000000..c7ee7b02ba88
--- /dev/null
+++ b/Documentation/driver-api/misc_devices.rst
@@ -0,0 +1,5 @@
+Miscellaneous Devices
+=====================
+
+.. kernel-doc:: drivers/char/misc.c
+ :export:
diff --git a/Documentation/driver-api/pci.rst b/Documentation/driver-api/pci.rst
new file mode 100644
index 000000000000..01a6c8b7d3a7
--- /dev/null
+++ b/Documentation/driver-api/pci.rst
@@ -0,0 +1,50 @@
+PCI Support Library
+-------------------
+
+.. kernel-doc:: drivers/pci/pci.c
+ :export:
+
+.. kernel-doc:: drivers/pci/pci-driver.c
+ :export:
+
+.. kernel-doc:: drivers/pci/remove.c
+ :export:
+
+.. kernel-doc:: drivers/pci/search.c
+ :export:
+
+.. kernel-doc:: drivers/pci/msi.c
+ :export:
+
+.. kernel-doc:: drivers/pci/bus.c
+ :export:
+
+.. kernel-doc:: drivers/pci/access.c
+ :export:
+
+.. kernel-doc:: drivers/pci/irq.c
+ :export:
+
+.. kernel-doc:: drivers/pci/htirq.c
+ :export:
+
+.. kernel-doc:: drivers/pci/probe.c
+ :export:
+
+.. kernel-doc:: drivers/pci/slot.c
+ :export:
+
+.. kernel-doc:: drivers/pci/rom.c
+ :export:
+
+.. kernel-doc:: drivers/pci/iov.c
+ :export:
+
+.. kernel-doc:: drivers/pci/pci-sysfs.c
+ :internal:
+
+PCI Hotplug Support Library
+---------------------------
+
+.. kernel-doc:: drivers/pci/hotplug/pci_hotplug_core.c
+ :export: