Source
688
688
static const struct ide_port_info cmd640_port_info __initconst = {
689
689
.chipset = ide_cmd640,
690
690
.host_flags = IDE_HFLAG_SERIALIZE |
691
691
IDE_HFLAG_NO_DMA |
692
692
IDE_HFLAG_ABUSE_PREFETCH |
693
693
IDE_HFLAG_ABUSE_FAST_DEVSEL,
694
694
.port_ops = &cmd640_port_ops,
695
695
.pio_mask = ATA_PIO5,
696
696
};
697
697
698
-
static int cmd640x_init_one(unsigned long base, unsigned long ctl)
698
+
static int __init cmd640x_init_one(unsigned long base, unsigned long ctl)
699
699
{
700
700
if (!request_region(base, 8, DRV_NAME)) {
701
701
printk(KERN_ERR "%s: I/O resource 0x%lX-0x%lX not free.\n",
702
702
DRV_NAME, base, base + 7);
703
703
return -EBUSY;
704
704
}
705
705
706
706
if (!request_region(ctl, 1, DRV_NAME)) {
707
707
printk(KERN_ERR "%s: I/O resource 0x%lX not free.\n",
708
708
DRV_NAME, ctl);