aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/palm_bk3710.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:21:03 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:03 -0500
commitfe31edc8a3b6081f3580c9ae4c5c61103f3412a5 (patch)
tree84b9d3b008f33031093a73a7bec7f422f3a7eff8 /drivers/ide/palm_bk3710.c
parent0ec24914675c48213378da550db494bf154f0f6c (diff)
Drivers: ide: 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, __devinitdata, __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: "David S. Miller" <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide/palm_bk3710.c')
-rw-r--r--drivers/ide/palm_bk3710.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/ide/palm_bk3710.c b/drivers/ide/palm_bk3710.c
index 712c7904d03e..6107cc4ee012 100644
--- a/drivers/ide/palm_bk3710.c
+++ b/drivers/ide/palm_bk3710.c
@@ -220,7 +220,7 @@ static void palm_bk3710_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)
220 palm_bk3710_setpiomode(base, mate, is_slave, cycle_time, pio); 220 palm_bk3710_setpiomode(base, mate, is_slave, cycle_time, pio);
221} 221}
222 222
223static void __devinit palm_bk3710_chipinit(void __iomem *base) 223static void palm_bk3710_chipinit(void __iomem *base)
224{ 224{
225 /* 225 /*
226 * REVISIT: the ATA reset signal needs to be managed through a 226 * REVISIT: the ATA reset signal needs to be managed through a
@@ -282,8 +282,7 @@ static u8 palm_bk3710_cable_detect(ide_hwif_t *hwif)
282 return ATA_CBL_PATA80; 282 return ATA_CBL_PATA80;
283} 283}
284 284
285static int __devinit palm_bk3710_init_dma(ide_hwif_t *hwif, 285static int palm_bk3710_init_dma(ide_hwif_t *hwif, const struct ide_port_info *d)
286 const struct ide_port_info *d)
287{ 286{
288 printk(KERN_INFO " %s: MMIO-DMA\n", hwif->name); 287 printk(KERN_INFO " %s: MMIO-DMA\n", hwif->name);
289 288
@@ -301,7 +300,7 @@ static const struct ide_port_ops palm_bk3710_ports_ops = {
301 .cable_detect = palm_bk3710_cable_detect, 300 .cable_detect = palm_bk3710_cable_detect,
302}; 301};
303 302
304static struct ide_port_info __devinitdata palm_bk3710_port_info = { 303static struct ide_port_info palm_bk3710_port_info = {
305 .init_dma = palm_bk3710_init_dma, 304 .init_dma = palm_bk3710_init_dma,
306 .port_ops = &palm_bk3710_ports_ops, 305 .port_ops = &palm_bk3710_ports_ops,
307 .dma_ops = &sff_dma_ops, 306 .dma_ops = &sff_dma_ops,