diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-23 13:08:08 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-23 13:08:08 -0500 |
| commit | a99cbf6b43a7b3b15f6139b2d9ac4ecceccd3c99 (patch) | |
| tree | d92277ec77dbaf6f04a1ab4fe31a974c1ce51f76 | |
| parent | 4f57d865f1d863346ac50db9c25859e73a86499c (diff) | |
| parent | b4d20859362fde976bb2fa53eb51b798cdba1afc (diff) | |
Merge branch 'kernel-doc' from Randy Dunlap
The usual kernel-doc fixups from Randy. Some of them David acked as
merged in his tree, this is the random left-overs.
* kernel-doc:
docbook: fix sched source file names in device-drivers book
docbook: change iomap source filename in deviceiobook
docbook: don't use serial_core.h in device-drivers book
kernel-doc: fix kernel-doc warnings in sched
kernel-doc: fix new warnings in cfg80211.h
kernel-doc: fix new warning in usb.h
kernel-doc: fix new warnings in device.h
kernel-doc: fix new warnings in debugfs
kernel-doc: fix new warning in regulator core
kernel-doc: fix new warnings in pci
kernel-doc: fix new warnings in driver-core
kernel-doc: fix new warnings in auditsc.c
scripts/kernel-doc: fix fatal error caused by cfg80211.h
| -rw-r--r-- | Documentation/DocBook/device-drivers.tmpl | 5 | ||||
| -rw-r--r-- | Documentation/DocBook/deviceiobook.tmpl | 2 | ||||
| -rw-r--r-- | drivers/base/bus.c | 9 | ||||
| -rw-r--r-- | drivers/pci/pci.c | 6 | ||||
| -rw-r--r-- | drivers/regulator/core.c | 1 | ||||
| -rw-r--r-- | fs/debugfs/file.c | 2 | ||||
| -rw-r--r-- | include/linux/device.h | 15 | ||||
| -rw-r--r-- | include/linux/sched.h | 2 | ||||
| -rw-r--r-- | include/linux/usb.h | 1 | ||||
| -rw-r--r-- | include/net/cfg80211.h | 6 | ||||
| -rw-r--r-- | kernel/auditsc.c | 5 | ||||
| -rw-r--r-- | kernel/sched/cpupri.c | 3 | ||||
| -rwxr-xr-x | scripts/kernel-doc | 3 |
13 files changed, 38 insertions, 22 deletions
diff --git a/Documentation/DocBook/device-drivers.tmpl b/Documentation/DocBook/device-drivers.tmpl index b638e50cf8f6..2f7fd4360848 100644 --- a/Documentation/DocBook/device-drivers.tmpl +++ b/Documentation/DocBook/device-drivers.tmpl | |||
| @@ -50,7 +50,9 @@ | |||
| 50 | 50 | ||
| 51 | <sect1><title>Delaying, scheduling, and timer routines</title> | 51 | <sect1><title>Delaying, scheduling, and timer routines</title> |
| 52 | !Iinclude/linux/sched.h | 52 | !Iinclude/linux/sched.h |
| 53 | !Ekernel/sched.c | 53 | !Ekernel/sched/core.c |
| 54 | !Ikernel/sched/cpupri.c | ||
| 55 | !Ikernel/sched/fair.c | ||
| 54 | !Iinclude/linux/completion.h | 56 | !Iinclude/linux/completion.h |
| 55 | !Ekernel/timer.c | 57 | !Ekernel/timer.c |
| 56 | </sect1> | 58 | </sect1> |
| @@ -216,7 +218,6 @@ X!Isound/sound_firmware.c | |||
| 216 | 218 | ||
| 217 | <chapter id="uart16x50"> | 219 | <chapter id="uart16x50"> |
| 218 | <title>16x50 UART Driver</title> | 220 | <title>16x50 UART Driver</title> |
| 219 | !Iinclude/linux/serial_core.h | ||
| 220 | !Edrivers/tty/serial/serial_core.c | 221 | !Edrivers/tty/serial/serial_core.c |
| 221 | !Edrivers/tty/serial/8250.c | 222 | !Edrivers/tty/serial/8250.c |
| 222 | </chapter> | 223 | </chapter> |
diff --git a/Documentation/DocBook/deviceiobook.tmpl b/Documentation/DocBook/deviceiobook.tmpl index c1ed6a49e598..54199a0dcf9a 100644 --- a/Documentation/DocBook/deviceiobook.tmpl +++ b/Documentation/DocBook/deviceiobook.tmpl | |||
| @@ -317,7 +317,7 @@ CPU B: spin_unlock_irqrestore(&dev_lock, flags) | |||
| 317 | <chapter id="pubfunctions"> | 317 | <chapter id="pubfunctions"> |
| 318 | <title>Public Functions Provided</title> | 318 | <title>Public Functions Provided</title> |
| 319 | !Iarch/x86/include/asm/io.h | 319 | !Iarch/x86/include/asm/io.h |
| 320 | !Elib/iomap.c | 320 | !Elib/pci_iomap.c |
| 321 | </chapter> | 321 | </chapter> |
| 322 | 322 | ||
| 323 | </book> | 323 | </book> |
diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 99dc5921e1dd..40fb12288ce2 100644 --- a/drivers/base/bus.c +++ b/drivers/base/bus.c | |||
| @@ -915,9 +915,10 @@ static BUS_ATTR(uevent, S_IWUSR, NULL, bus_uevent_store); | |||
| 915 | 915 | ||
| 916 | /** | 916 | /** |
| 917 | * __bus_register - register a driver-core subsystem | 917 | * __bus_register - register a driver-core subsystem |
| 918 | * @bus: bus. | 918 | * @bus: bus to register |
| 919 | * @key: lockdep class key | ||
| 919 | * | 920 | * |
| 920 | * Once we have that, we registered the bus with the kobject | 921 | * Once we have that, we register the bus with the kobject |
| 921 | * infrastructure, then register the children subsystems it has: | 922 | * infrastructure, then register the children subsystems it has: |
| 922 | * the devices and drivers that belong to the subsystem. | 923 | * the devices and drivers that belong to the subsystem. |
| 923 | */ | 924 | */ |
| @@ -1220,8 +1221,8 @@ static void system_root_device_release(struct device *dev) | |||
| 1220 | } | 1221 | } |
| 1221 | /** | 1222 | /** |
| 1222 | * subsys_system_register - register a subsystem at /sys/devices/system/ | 1223 | * subsys_system_register - register a subsystem at /sys/devices/system/ |
| 1223 | * @subsys - system subsystem | 1224 | * @subsys: system subsystem |
| 1224 | * @groups - default attributes for the root device | 1225 | * @groups: default attributes for the root device |
| 1225 | * | 1226 | * |
| 1226 | * All 'system' subsystems have a /sys/devices/system/<name> root device | 1227 | * All 'system' subsystems have a /sys/devices/system/<name> root device |
| 1227 | * with the name of the subsystem. The root device can carry subsystem- | 1228 | * with the name of the subsystem. The root device can carry subsystem- |
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 97fff785e97e..af295bb21d62 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
| @@ -2802,7 +2802,7 @@ pci_intx(struct pci_dev *pdev, int enable) | |||
| 2802 | 2802 | ||
| 2803 | /** | 2803 | /** |
| 2804 | * pci_intx_mask_supported - probe for INTx masking support | 2804 | * pci_intx_mask_supported - probe for INTx masking support |
| 2805 | * @pdev: the PCI device to operate on | 2805 | * @dev: the PCI device to operate on |
| 2806 | * | 2806 | * |
| 2807 | * Check if the device dev support INTx masking via the config space | 2807 | * Check if the device dev support INTx masking via the config space |
| 2808 | * command word. | 2808 | * command word. |
| @@ -2884,7 +2884,7 @@ done: | |||
| 2884 | 2884 | ||
| 2885 | /** | 2885 | /** |
| 2886 | * pci_check_and_mask_intx - mask INTx on pending interrupt | 2886 | * pci_check_and_mask_intx - mask INTx on pending interrupt |
| 2887 | * @pdev: the PCI device to operate on | 2887 | * @dev: the PCI device to operate on |
| 2888 | * | 2888 | * |
| 2889 | * Check if the device dev has its INTx line asserted, mask it and | 2889 | * Check if the device dev has its INTx line asserted, mask it and |
| 2890 | * return true in that case. False is returned if not interrupt was | 2890 | * return true in that case. False is returned if not interrupt was |
| @@ -2898,7 +2898,7 @@ EXPORT_SYMBOL_GPL(pci_check_and_mask_intx); | |||
| 2898 | 2898 | ||
| 2899 | /** | 2899 | /** |
| 2900 | * pci_check_and_mask_intx - unmask INTx of no interrupt is pending | 2900 | * pci_check_and_mask_intx - unmask INTx of no interrupt is pending |
| 2901 | * @pdev: the PCI device to operate on | 2901 | * @dev: the PCI device to operate on |
| 2902 | * | 2902 | * |
| 2903 | * Check if the device dev has its INTx line asserted, unmask it if not | 2903 | * Check if the device dev has its INTx line asserted, unmask it if not |
| 2904 | * and return true. False is returned and the mask remains active if | 2904 | * and return true. False is returned and the mask remains active if |
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index ca86f39a0fdc..b1fa25d6583a 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
| @@ -2731,6 +2731,7 @@ static void rdev_init_debugfs(struct regulator_dev *rdev) | |||
| 2731 | * @dev: struct device for the regulator | 2731 | * @dev: struct device for the regulator |
| 2732 | * @init_data: platform provided init data, passed through by driver | 2732 | * @init_data: platform provided init data, passed through by driver |
| 2733 | * @driver_data: private regulator data | 2733 | * @driver_data: private regulator data |
| 2734 | * @of_node: target open firmware device structure (may be NULL) | ||
| 2734 | * | 2735 | * |
| 2735 | * Called by regulator drivers to register a regulator. | 2736 | * Called by regulator drivers to register a regulator. |
| 2736 | * Returns 0 on success. | 2737 | * Returns 0 on success. |
diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c index f65d4455c5e5..ef023eef0464 100644 --- a/fs/debugfs/file.c +++ b/fs/debugfs/file.c | |||
| @@ -540,7 +540,7 @@ EXPORT_SYMBOL_GPL(debugfs_create_blob); | |||
| 540 | * debugfs_print_regs32 - use seq_print to describe a set of registers | 540 | * debugfs_print_regs32 - use seq_print to describe a set of registers |
| 541 | * @s: the seq_file structure being used to generate output | 541 | * @s: the seq_file structure being used to generate output |
| 542 | * @regs: an array if struct debugfs_reg32 structures | 542 | * @regs: an array if struct debugfs_reg32 structures |
| 543 | * @mregs: the length of the above array | 543 | * @nregs: the length of the above array |
| 544 | * @base: the base address to be used in reading the registers | 544 | * @base: the base address to be used in reading the registers |
| 545 | * @prefix: a string to be prefixed to every output line | 545 | * @prefix: a string to be prefixed to every output line |
| 546 | * | 546 | * |
diff --git a/include/linux/device.h b/include/linux/device.h index 5b3adb8f9588..b63fb393aa58 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
| @@ -279,11 +279,11 @@ struct device *driver_find_device(struct device_driver *drv, | |||
| 279 | 279 | ||
| 280 | /** | 280 | /** |
| 281 | * struct subsys_interface - interfaces to device functions | 281 | * struct subsys_interface - interfaces to device functions |
| 282 | * @name name of the device function | 282 | * @name: name of the device function |
| 283 | * @subsystem subsytem of the devices to attach to | 283 | * @subsys: subsytem of the devices to attach to |
| 284 | * @node the list of functions registered at the subsystem | 284 | * @node: the list of functions registered at the subsystem |
| 285 | * @add device hookup to device function handler | 285 | * @add_dev: device hookup to device function handler |
| 286 | * @remove device hookup to device function handler | 286 | * @remove_dev: device hookup to device function handler |
| 287 | * | 287 | * |
| 288 | * Simple interfaces attached to a subsystem. Multiple interfaces can | 288 | * Simple interfaces attached to a subsystem. Multiple interfaces can |
| 289 | * attach to a subsystem and its devices. Unlike drivers, they do not | 289 | * attach to a subsystem and its devices. Unlike drivers, they do not |
| @@ -612,6 +612,7 @@ struct device_dma_parameters { | |||
| 612 | * @archdata: For arch-specific additions. | 612 | * @archdata: For arch-specific additions. |
| 613 | * @of_node: Associated device tree node. | 613 | * @of_node: Associated device tree node. |
| 614 | * @devt: For creating the sysfs "dev". | 614 | * @devt: For creating the sysfs "dev". |
| 615 | * @id: device instance | ||
| 615 | * @devres_lock: Spinlock to protect the resource of the device. | 616 | * @devres_lock: Spinlock to protect the resource of the device. |
| 616 | * @devres_head: The resources list of the device. | 617 | * @devres_head: The resources list of the device. |
| 617 | * @knode_class: The node used to add the device to the class list. | 618 | * @knode_class: The node used to add the device to the class list. |
| @@ -1003,6 +1004,10 @@ extern long sysfs_deprecated; | |||
| 1003 | * Each module may only use this macro once, and calling it replaces | 1004 | * Each module may only use this macro once, and calling it replaces |
| 1004 | * module_init() and module_exit(). | 1005 | * module_init() and module_exit(). |
| 1005 | * | 1006 | * |
| 1007 | * @__driver: driver name | ||
| 1008 | * @__register: register function for this driver type | ||
| 1009 | * @__unregister: unregister function for this driver type | ||
