diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2005-10-23 14:57:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 18:37:01 -0400 |
commit | 8f7020d36374dda9366fee1343f8eacfe8f5e641 (patch) | |
tree | fb9531fed55030c6334957ff38235421c83377b9 /drivers/pci/pci.c | |
parent | f05aab8ef653abcbd454739264a9f5cf63f6f9f8 (diff) |
[PATCH] kernel-doc: PCI fixes
PCI: add descriptions for missing function parameters.
Eliminate all kernel-doc warnings here.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 39bdb938521d..61b855c99e39 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -252,6 +252,8 @@ pci_restore_bars(struct pci_dev *dev) | |||
252 | pci_update_resource(dev, &dev->resource[i], i); | 252 | pci_update_resource(dev, &dev->resource[i], i); |
253 | } | 253 | } |
254 | 254 | ||
255 | int (*platform_pci_set_power_state)(struct pci_dev *dev, pci_power_t t); | ||
256 | |||
255 | /** | 257 | /** |
256 | * pci_set_power_state - Set the power state of a PCI device | 258 | * pci_set_power_state - Set the power state of a PCI device |
257 | * @dev: PCI device to be suspended | 259 | * @dev: PCI device to be suspended |
@@ -266,7 +268,6 @@ pci_restore_bars(struct pci_dev *dev) | |||
266 | * -EIO if device does not support PCI PM. | 268 | * -EIO if device does not support PCI PM. |
267 | * 0 if we can successfully change the power state. | 269 | * 0 if we can successfully change the power state. |
268 | */ | 270 | */ |
269 | int (*platform_pci_set_power_state)(struct pci_dev *dev, pci_power_t t); | ||
270 | int | 271 | int |
271 | pci_set_power_state(struct pci_dev *dev, pci_power_t state) | 272 | pci_set_power_state(struct pci_dev *dev, pci_power_t state) |
272 | { | 273 | { |
@@ -808,8 +809,8 @@ pci_clear_mwi(struct pci_dev *dev) | |||
808 | 809 | ||
809 | /** | 810 | /** |
810 | * pci_intx - enables/disables PCI INTx for device dev | 811 | * pci_intx - enables/disables PCI INTx for device dev |
811 | * @dev: the PCI device to operate on | 812 | * @pdev: the PCI device to operate on |
812 | * @enable: boolean | 813 | * @enable: boolean: whether to enable or disable PCI INTx |
813 | * | 814 | * |
814 | * Enables/disables PCI INTx for device dev | 815 | * Enables/disables PCI INTx for device dev |
815 | */ | 816 | */ |