diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /drivers/ata/pata_it821x.c | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'drivers/ata/pata_it821x.c')
-rw-r--r-- | drivers/ata/pata_it821x.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ata/pata_it821x.c b/drivers/ata/pata_it821x.c index 188bc2fcd22c..5cb286fd839e 100644 --- a/drivers/ata/pata_it821x.c +++ b/drivers/ata/pata_it821x.c | |||
@@ -75,6 +75,7 @@ | |||
75 | #include <linux/init.h> | 75 | #include <linux/init.h> |
76 | #include <linux/blkdev.h> | 76 | #include <linux/blkdev.h> |
77 | #include <linux/delay.h> | 77 | #include <linux/delay.h> |
78 | #include <linux/slab.h> | ||
78 | #include <scsi/scsi_host.h> | 79 | #include <scsi/scsi_host.h> |
79 | #include <linux/libata.h> | 80 | #include <linux/libata.h> |
80 | 81 | ||
@@ -932,7 +933,7 @@ static int it821x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
932 | else | 933 | else |
933 | ppi[0] = &info_smart; | 934 | ppi[0] = &info_smart; |
934 | } | 935 | } |
935 | return ata_pci_sff_init_one(pdev, ppi, &it821x_sht, NULL); | 936 | return ata_pci_sff_init_one(pdev, ppi, &it821x_sht, NULL, 0); |
936 | } | 937 | } |
937 | 938 | ||
938 | #ifdef CONFIG_PM | 939 | #ifdef CONFIG_PM |
@@ -955,7 +956,7 @@ static int it821x_reinit_one(struct pci_dev *pdev) | |||
955 | static const struct pci_device_id it821x[] = { | 956 | static const struct pci_device_id it821x[] = { |
956 | { PCI_VDEVICE(ITE, PCI_DEVICE_ID_ITE_8211), }, | 957 | { PCI_VDEVICE(ITE, PCI_DEVICE_ID_ITE_8211), }, |
957 | { PCI_VDEVICE(ITE, PCI_DEVICE_ID_ITE_8212), }, | 958 | { PCI_VDEVICE(ITE, PCI_DEVICE_ID_ITE_8212), }, |
958 | { PCI_VDEVICE(RDC, 0x1010), }, | 959 | { PCI_VDEVICE(RDC, PCI_DEVICE_ID_RDC_D1010), }, |
959 | 960 | ||
960 | { }, | 961 | { }, |
961 | }; | 962 | }; |