diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/ata_piix.c | 2 | ||||
-rw-r--r-- | drivers/ata/sata_via.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index e783e678acf5..9ce4aa9c2f25 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c | |||
@@ -1122,7 +1122,7 @@ static void __devinit piix_init_sata_map(struct pci_dev *pdev, | |||
1122 | const struct piix_map_db *map_db) | 1122 | const struct piix_map_db *map_db) |
1123 | { | 1123 | { |
1124 | struct piix_host_priv *hpriv = pinfo[0].private_data; | 1124 | struct piix_host_priv *hpriv = pinfo[0].private_data; |
1125 | const unsigned int *map; | 1125 | const int *map; |
1126 | int i, invalid_map = 0; | 1126 | int i, invalid_map = 0; |
1127 | u8 map_value; | 1127 | u8 map_value; |
1128 | 1128 | ||
diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c index 1dc9b4f2b2dc..cc6ee0890f56 100644 --- a/drivers/ata/sata_via.c +++ b/drivers/ata/sata_via.c | |||
@@ -505,7 +505,7 @@ static int svia_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) | |||
505 | int rc; | 505 | int rc; |
506 | struct ata_host *host; | 506 | struct ata_host *host; |
507 | int board_id = (int) ent->driver_data; | 507 | int board_id = (int) ent->driver_data; |
508 | const int *bar_sizes; | 508 | const unsigned *bar_sizes; |
509 | 509 | ||
510 | if (!printed_version++) | 510 | if (!printed_version++) |
511 | dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n"); | 511 | dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n"); |