diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /drivers/ide/it8213.c | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'drivers/ide/it8213.c')
-rw-r--r-- | drivers/ide/it8213.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/it8213.c b/drivers/ide/it8213.c index 6b92846682f..46816ba2641 100644 --- a/drivers/ide/it8213.c +++ b/drivers/ide/it8213.c | |||
@@ -156,7 +156,7 @@ static const struct ide_port_ops it8213_port_ops = { | |||
156 | .cable_detect = it8213_cable_detect, | 156 | .cable_detect = it8213_cable_detect, |
157 | }; | 157 | }; |
158 | 158 | ||
159 | static const struct ide_port_info it8213_chipset = { | 159 | static const struct ide_port_info it8213_chipset __devinitdata = { |
160 | .name = DRV_NAME, | 160 | .name = DRV_NAME, |
161 | .enablebits = { {0x41, 0x80, 0x80} }, | 161 | .enablebits = { {0x41, 0x80, 0x80} }, |
162 | .port_ops = &it8213_port_ops, | 162 | .port_ops = &it8213_port_ops, |
@@ -177,7 +177,7 @@ static const struct ide_port_info it8213_chipset = { | |||
177 | * standard helper functions to do almost all the work for us. | 177 | * standard helper functions to do almost all the work for us. |
178 | */ | 178 | */ |
179 | 179 | ||
180 | static int it8213_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 180 | static int __devinit it8213_init_one(struct pci_dev *dev, const struct pci_device_id *id) |
181 | { | 181 | { |
182 | return ide_pci_init_one(dev, &it8213_chipset, NULL); | 182 | return ide_pci_init_one(dev, &it8213_chipset, NULL); |
183 | } | 183 | } |