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/qd65xx.c | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'drivers/ide/qd65xx.c')
-rw-r--r-- | drivers/ide/qd65xx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ide/qd65xx.c b/drivers/ide/qd65xx.c index a6fb6a894c7..3f0244fd8e6 100644 --- a/drivers/ide/qd65xx.c +++ b/drivers/ide/qd65xx.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/blkdev.h> | 29 | #include <linux/blkdev.h> |
30 | #include <linux/ide.h> | 30 | #include <linux/ide.h> |
31 | #include <linux/init.h> | 31 | #include <linux/init.h> |
32 | #include <asm/system.h> | ||
32 | #include <asm/io.h> | 33 | #include <asm/io.h> |
33 | 34 | ||
34 | #define DRV_NAME "qd65xx" | 35 | #define DRV_NAME "qd65xx" |
@@ -335,7 +336,7 @@ static const struct ide_port_ops qd6580_port_ops = { | |||
335 | .set_pio_mode = qd6580_set_pio_mode, | 336 | .set_pio_mode = qd6580_set_pio_mode, |
336 | }; | 337 | }; |
337 | 338 | ||
338 | static const struct ide_port_info qd65xx_port_info __initconst = { | 339 | static const struct ide_port_info qd65xx_port_info __initdata = { |
339 | .name = DRV_NAME, | 340 | .name = DRV_NAME, |
340 | .tp_ops = &qd65xx_tp_ops, | 341 | .tp_ops = &qd65xx_tp_ops, |
341 | .chipset = ide_qd65xx, | 342 | .chipset = ide_qd65xx, |
@@ -416,7 +417,7 @@ static int __init qd_probe(int base) | |||
416 | return rc; | 417 | return rc; |
417 | } | 418 | } |
418 | 419 | ||
419 | static bool probe_qd65xx; | 420 | static int probe_qd65xx; |
420 | 421 | ||
421 | module_param_named(probe, probe_qd65xx, bool, 0); | 422 | module_param_named(probe, probe_qd65xx, bool, 0); |
422 | MODULE_PARM_DESC(probe, "probe for QD65xx chipsets"); | 423 | MODULE_PARM_DESC(probe, "probe for QD65xx chipsets"); |