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>
This commit is contained in:
@@ -220,7 +220,7 @@ static void palm_bk3710_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)
|
||||
palm_bk3710_setpiomode(base, mate, is_slave, cycle_time, pio);
|
||||
}
|
||||
|
||||
static void __devinit palm_bk3710_chipinit(void __iomem *base)
|
||||
static void palm_bk3710_chipinit(void __iomem *base)
|
||||
{
|
||||
/*
|
||||
* 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)
|
||||
return ATA_CBL_PATA80;
|
||||
}
|
||||
|
||||
static int __devinit palm_bk3710_init_dma(ide_hwif_t *hwif,
|
||||
const struct ide_port_info *d)
|
||||
static int palm_bk3710_init_dma(ide_hwif_t *hwif, const struct ide_port_info *d)
|
||||
{
|
||||
printk(KERN_INFO " %s: MMIO-DMA\n", hwif->name);
|
||||
|
||||
@@ -301,7 +300,7 @@ static const struct ide_port_ops palm_bk3710_ports_ops = {
|
||||
.cable_detect = palm_bk3710_cable_detect,
|
||||
};
|
||||
|
||||
static struct ide_port_info __devinitdata palm_bk3710_port_info = {
|
||||
static struct ide_port_info palm_bk3710_port_info = {
|
||||
.init_dma = palm_bk3710_init_dma,
|
||||
.port_ops = &palm_bk3710_ports_ops,
|
||||
.dma_ops = &sff_dma_ops,
|
||||
|
Verwijs in nieuw issue
Block a user