Skip to content

Commit c7e2c06

Browse files
mchehabJonathan Corbet
authored andcommitted
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>
1 parent 61c8830 commit c7e2c06

6 files changed

Lines changed: 73 additions & 72 deletions

File tree

‎Documentation/core-api/kernel-api.rst‎

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -228,72 +228,6 @@ MTRR Handling
228228
.. kernel-doc:: arch/x86/kernel/cpu/mtrr/main.c
229229
:export:
230230

231-
PCI Support Library
232-
-------------------
233-
234-
.. kernel-doc:: drivers/pci/pci.c
235-
:export:
236-
237-
.. kernel-doc:: drivers/pci/pci-driver.c
238-
:export:
239-
240-
.. kernel-doc:: drivers/pci/remove.c
241-
:export:
242-
243-
.. kernel-doc:: drivers/pci/search.c
244-
:export:
245-
246-
.. kernel-doc:: drivers/pci/msi.c
247-
:export:
248-
249-
.. kernel-doc:: drivers/pci/bus.c
250-
:export:
251-
252-
.. kernel-doc:: drivers/pci/access.c
253-
:export:
254-
255-
.. kernel-doc:: drivers/pci/irq.c
256-
:export:
257-
258-
.. kernel-doc:: drivers/pci/htirq.c
259-
:export:
260-
261-
.. kernel-doc:: drivers/pci/probe.c
262-
:export:
263-
264-
.. kernel-doc:: drivers/pci/slot.c
265-
:export:
266-
267-
.. kernel-doc:: drivers/pci/rom.c
268-
:export:
269-
270-
.. kernel-doc:: drivers/pci/iov.c
271-
:export:
272-
273-
.. kernel-doc:: drivers/pci/pci-sysfs.c
274-
:internal:
275-
276-
PCI Hotplug Support Library
277-
---------------------------
278-
279-
.. kernel-doc:: drivers/pci/hotplug/pci_hotplug_core.c
280-
:export:
281-
282-
Firmware Interfaces
283-
===================
284-
285-
DMI Interfaces
286-
--------------
287-
288-
.. kernel-doc:: drivers/firmware/dmi_scan.c
289-
:export:
290-
291-
EDD Interfaces
292-
--------------
293-
294-
.. kernel-doc:: drivers/firmware/edd.c
295-
:internal:
296-
297231
Security Framework
298232
==================
299233

@@ -372,12 +306,6 @@ Char devices
372306
.. kernel-doc:: fs/char_dev.c
373307
:export:
374308

375-
Miscellaneous Devices
376-
=====================
377-
378-
.. kernel-doc:: drivers/char/misc.c
379-
:export:
380-
381309
Clock Framework
382310
===============
383311

‎Documentation/driver-api/firmware/index.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Linux Firmware API
77
introduction
88
core
99
request_firmware
10+
other_interfaces
1011

1112
.. only:: subproject and html
1213

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Other Firmware Interfaces
2+
=========================
3+
4+
DMI Interfaces
5+
--------------
6+
7+
.. kernel-doc:: drivers/firmware/dmi_scan.c
8+
:export:
9+
10+
EDD Interfaces
11+
--------------
12+
13+
.. kernel-doc:: drivers/firmware/edd.c
14+
:internal:
15+

‎Documentation/driver-api/index.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ available subsections can be seen below.
2727
iio/index
2828
input
2929
usb
30+
pci
3031
spi
3132
i2c
3233
hsi
@@ -36,6 +37,7 @@ available subsections can be seen below.
3637
80211/index
3738
uio-howto
3839
firmware/index
40+
misc_devices
3941

4042
.. only:: subproject and html
4143

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Miscellaneous Devices
2+
=====================
3+
4+
.. kernel-doc:: drivers/char/misc.c
5+
:export:

‎Documentation/driver-api/pci.rst‎

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
PCI Support Library
2+
-------------------
3+
4+
.. kernel-doc:: drivers/pci/pci.c
5+
:export:
6+
7+
.. kernel-doc:: drivers/pci/pci-driver.c
8+
:export:
9+
10+
.. kernel-doc:: drivers/pci/remove.c
11+
:export:
12+
13+
.. kernel-doc:: drivers/pci/search.c
14+
:export:
15+
16+
.. kernel-doc:: drivers/pci/msi.c
17+
:export:
18+
19+
.. kernel-doc:: drivers/pci/bus.c
20+
:export:
21+
22+
.. kernel-doc:: drivers/pci/access.c
23+
:export:
24+
25+
.. kernel-doc:: drivers/pci/irq.c
26+
:export:
27+
28+
.. kernel-doc:: drivers/pci/htirq.c
29+
:export:
30+
31+
.. kernel-doc:: drivers/pci/probe.c
32+
:export:
33+
34+
.. kernel-doc:: drivers/pci/slot.c
35+
:export:
36+
37+
.. kernel-doc:: drivers/pci/rom.c
38+
:export:
39+
40+
.. kernel-doc:: drivers/pci/iov.c
41+
:export:
42+
43+
.. kernel-doc:: drivers/pci/pci-sysfs.c
44+
:internal:
45+
46+
PCI Hotplug Support Library
47+
---------------------------
48+
49+
.. kernel-doc:: drivers/pci/hotplug/pci_hotplug_core.c
50+
:export:

0 commit comments

Comments
 (0)