diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 17:02:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:04 -0500 |
commit | a18e3690a52790a034d6540d54e8e1f1cd125da2 (patch) | |
tree | 668f9be24589f66344f064b27bd35cda8551bb09 /arch/x86/pci/acpi.c | |
parent | 351a102dbf489d0e9c9b0883f76e2a94d895503d (diff) |
X86: drivers: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, __devinitconst,
and __devexit from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Daniel Drake <dsd@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/pci/acpi.c')
-rw-r--r-- | arch/x86/pci/acpi.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index 0c01261fe5a8..53ea60458e01 100644 --- a/arch/x86/pci/acpi.c +++ b/arch/x86/pci/acpi.c | |||
@@ -145,7 +145,7 @@ void __init pci_acpi_crs_quirks(void) | |||
145 | } | 145 | } |
146 | 146 | ||
147 | #ifdef CONFIG_PCI_MMCONFIG | 147 | #ifdef CONFIG_PCI_MMCONFIG |
148 | static int __devinit check_segment(u16 seg, struct device *dev, char *estr) | 148 | static int check_segment(u16 seg, struct device *dev, char *estr) |
149 | { | 149 | { |
150 | if (seg) { | 150 | if (seg) { |
151 | dev_err(dev, | 151 | dev_err(dev, |
@@ -168,9 +168,8 @@ static int __devinit check_segment(u16 seg, struct device *dev, char *estr) | |||
168 | return 0; | 168 | return 0; |
169 | } | 169 | } |
170 | 170 | ||
171 | static int __devinit setup_mcfg_map(struct pci_root_info *info, | 171 | static int setup_mcfg_map(struct pci_root_info *info, u16 seg, u8 start, |
172 | u16 seg, u8 start, u8 end, | 172 | u8 end, phys_addr_t addr) |
173 | phys_addr_t addr) | ||
174 | { | 173 | { |
175 | int result; | 174 | int result; |
176 | struct device *dev = &info->bridge->dev; | 175 | struct device *dev = &info->bridge->dev; |
@@ -208,7 +207,7 @@ static void teardown_mcfg_map(struct pci_root_info *info) | |||
208 | } | 207 | } |
209 | } | 208 | } |
210 | #else | 209 | #else |
211 | static int __devinit setup_mcfg_map(struct pci_root_info *info, | 210 | static int setup_mcfg_map(struct pci_root_info *info, |
212 | u16 seg, u8 start, u8 end, | 211 | u16 seg, u8 start, u8 end, |
213 | phys_addr_t addr) | 212 | phys_addr_t addr) |
214 | { | 213 | { |
@@ -474,7 +473,7 @@ probe_pci_root_info(struct pci_root_info *info, struct acpi_device *device, | |||
474 | info); | 473 | info); |
475 | } | 474 | } |
476 | 475 | ||
477 | struct pci_bus * __devinit pci_acpi_scan_root(struct acpi_pci_root *root) | 476 | struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root) |
478 | { | 477 | { |
479 | struct acpi_device *device = root->device; | 478 | struct acpi_device *device = root->device; |
480 | struct pci_root_info *info = NULL; | 479 | struct pci_root_info *info = NULL; |