diff options
Diffstat (limited to 'drivers/ide/cs5535.c')
-rw-r--r-- | drivers/ide/cs5535.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ide/cs5535.c b/drivers/ide/cs5535.c index 18d4c852602b..3bc5b9a34013 100644 --- a/drivers/ide/cs5535.c +++ b/drivers/ide/cs5535.c | |||
@@ -170,7 +170,7 @@ static const struct ide_port_ops cs5535_port_ops = { | |||
170 | .cable_detect = cs5535_cable_detect, | 170 | .cable_detect = cs5535_cable_detect, |
171 | }; | 171 | }; |
172 | 172 | ||
173 | static const struct ide_port_info cs5535_chipset __devinitconst = { | 173 | static const struct ide_port_info cs5535_chipset = { |
174 | .name = DRV_NAME, | 174 | .name = DRV_NAME, |
175 | .port_ops = &cs5535_port_ops, | 175 | .port_ops = &cs5535_port_ops, |
176 | .host_flags = IDE_HFLAG_SINGLE | IDE_HFLAG_POST_SET_MODE, | 176 | .host_flags = IDE_HFLAG_SINGLE | IDE_HFLAG_POST_SET_MODE, |
@@ -179,8 +179,7 @@ static const struct ide_port_info cs5535_chipset __devinitconst = { | |||
179 | .udma_mask = ATA_UDMA4, | 179 | .udma_mask = ATA_UDMA4, |
180 | }; | 180 | }; |
181 | 181 | ||
182 | static int __devinit cs5535_init_one(struct pci_dev *dev, | 182 | static int cs5535_init_one(struct pci_dev *dev, const struct pci_device_id *id) |
183 | const struct pci_device_id *id) | ||
184 | { | 183 | { |
185 | return ide_pci_init_one(dev, &cs5535_chipset, NULL); | 184 | return ide_pci_init_one(dev, &cs5535_chipset, NULL); |
186 | } | 185 | } |