diff options
Diffstat (limited to 'drivers/ata/pata_of_platform.c')
-rw-r--r-- | drivers/ata/pata_of_platform.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/ata/pata_of_platform.c b/drivers/ata/pata_of_platform.c index 19da29f011db..5a1b82c08be9 100644 --- a/drivers/ata/pata_of_platform.c +++ b/drivers/ata/pata_of_platform.c | |||
@@ -91,8 +91,11 @@ static struct of_device_id pata_of_platform_match[] = { | |||
91 | MODULE_DEVICE_TABLE(of, pata_of_platform_match); | 91 | MODULE_DEVICE_TABLE(of, pata_of_platform_match); |
92 | 92 | ||
93 | static struct of_platform_driver pata_of_platform_driver = { | 93 | static struct of_platform_driver pata_of_platform_driver = { |
94 | .name = "pata_of_platform", | 94 | .driver = { |
95 | .match_table = pata_of_platform_match, | 95 | .name = "pata_of_platform", |
96 | .owner = THIS_MODULE, | ||
97 | .of_match_table = pata_of_platform_match, | ||
98 | }, | ||
96 | .probe = pata_of_platform_probe, | 99 | .probe = pata_of_platform_probe, |
97 | .remove = __devexit_p(pata_of_platform_remove), | 100 | .remove = __devexit_p(pata_of_platform_remove), |
98 | }; | 101 | }; |