aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bcma/driver_pci.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 18:12:59 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:15 -0500
commit0f58a01ddd5e8177255705ba15e64c3b74d67993 (patch)
tree3ac74486247a11f2bc98da40e5be78fbded09192 /drivers/bcma/driver_pci.c
parentbcd2982a0e2af8d0506271b439af4b568fc33fdc (diff)
Drivers: bcma: 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, 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: "Rafał Miłecki" <zajec5@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bcma/driver_pci.c')
-rw-r--r--drivers/bcma/driver_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bcma/driver_pci.c b/drivers/bcma/driver_pci.c
index c39ee6d45850..cf7a476a519f 100644
--- a/drivers/bcma/driver_pci.c
+++ b/drivers/bcma/driver_pci.c
@@ -207,14 +207,14 @@ static void bcma_core_pci_config_fixup(struct bcma_drv_pci *pc)
207 * Init. 207 * Init.
208 **************************************************/ 208 **************************************************/
209 209
210static void __devinit bcma_core_pci_clientmode_init(struct bcma_drv_pci *pc) 210static void bcma_core_pci_clientmode_init(struct bcma_drv_pci *pc)
211{ 211{
212 bcma_core_pci_fixcfg(pc); 212 bcma_core_pci_fixcfg(pc);
213 bcma_pcicore_serdes_workaround(pc); 213 bcma_pcicore_serdes_workaround(pc);
214 bcma_core_pci_config_fixup(pc); 214 bcma_core_pci_config_fixup(pc);
215} 215}
216 216
217void __devinit bcma_core_pci_init(struct bcma_drv_pci *pc) 217void bcma_core_pci_init(struct bcma_drv_pci *pc)
218{ 218{
219 if (pc->setup_done) 219 if (pc->setup_done)
220 return; 220 return;