aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-01-30 18:21:33 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 18:04:31 -0500
commit367b09fec4e01571a3aab996be086072cf5517eb (patch)
tree82d0be1ca7a9b83bf7dae7e6172dbefeb4e65fd7 /drivers/pci
parent6c723d5bd89f03fc3ef627d50f89ade054d2ee3b (diff)
PCI: fix codingstyle issues in drivers/pci/pci.h
Fixes a few coding style issues in the internal pci.h file Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 4c4613387786..79887efbd986 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -6,8 +6,10 @@ extern void pci_remove_sysfs_dev_files(struct pci_dev *pdev);
6extern void pci_cleanup_rom(struct pci_dev *dev); 6extern void pci_cleanup_rom(struct pci_dev *dev);
7 7
8/* Firmware callbacks */ 8/* Firmware callbacks */
9extern pci_power_t (*platform_pci_choose_state)(struct pci_dev *dev, pm_message_t state); 9extern pci_power_t (*platform_pci_choose_state)(struct pci_dev *dev,
10extern int (*platform_pci_set_power_state)(struct pci_dev *dev, pci_power_t state); 10 pm_message_t state);
11extern int (*platform_pci_set_power_state)(struct pci_dev *dev,
12 pci_power_t state);
11 13
12extern int pci_user_read_config_byte(struct pci_dev *dev, int where, u8 *val); 14extern int pci_user_read_config_byte(struct pci_dev *dev, int where, u8 *val);
13extern int pci_user_read_config_word(struct pci_dev *dev, int where, u16 *val); 15extern int pci_user_read_config_word(struct pci_dev *dev, int where, u16 *val);
@@ -69,7 +71,7 @@ extern struct class_device_attribute class_device_attr_cpuaffinity;
69 * PCI device id structure 71 * PCI device id structure
70 * @id: single PCI device id structure to match 72 * @id: single PCI device id structure to match
71 * @dev: the PCI device structure to match against 73 * @dev: the PCI device structure to match against
72 * 74 *
73 * Returns the matching pci_device_id structure or %NULL if there is no match. 75 * Returns the matching pci_device_id structure or %NULL if there is no match.
74 */ 76 */
75static inline const struct pci_device_id * 77static inline const struct pci_device_id *