aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_cs5530.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_cs5530.c')
-rw-r--r--drivers/ata/pata_cs5530.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ata/pata_cs5530.c b/drivers/ata/pata_cs5530.c
index b1ca207e354..611d90f0d3b 100644
--- a/drivers/ata/pata_cs5530.c
+++ b/drivers/ata/pata_cs5530.c
@@ -247,7 +247,7 @@ static int cs5530_is_palmax(void)
247 * Perform the chip initialisation work that is shared between both 247 * Perform the chip initialisation work that is shared between both
248 * setup and resume paths 248 * setup and resume paths
249 */ 249 */
250 250
251static int cs5530_init_chip(void) 251static int cs5530_init_chip(void)
252{ 252{
253 struct pci_dev *master_0 = NULL, *cs5530_0 = NULL, *dev = NULL; 253 struct pci_dev *master_0 = NULL, *cs5530_0 = NULL, *dev = NULL;
@@ -357,11 +357,11 @@ static int cs5530_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
357 .port_ops = &cs5530_port_ops 357 .port_ops = &cs5530_port_ops
358 }; 358 };
359 static struct ata_port_info *port_info[2] = { &info, &info }; 359 static struct ata_port_info *port_info[2] = { &info, &info };
360 360
361 /* Chip initialisation */ 361 /* Chip initialisation */
362 if (cs5530_init_chip()) 362 if (cs5530_init_chip())
363 return -ENODEV; 363 return -ENODEV;
364 364
365 if (cs5530_is_palmax()) 365 if (cs5530_is_palmax())
366 port_info[1] = &info_palmax_secondary; 366 port_info[1] = &info_palmax_secondary;
367 367
@@ -376,7 +376,7 @@ static int cs5530_reinit_one(struct pci_dev *pdev)
376 BUG(); 376 BUG();
377 return ata_pci_device_resume(pdev); 377 return ata_pci_device_resume(pdev);
378} 378}
379 379
380static const struct pci_device_id cs5530[] = { 380static const struct pci_device_id cs5530[] = {
381 { PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5530_IDE), }, 381 { PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5530_IDE), },
382 382