diff options
Diffstat (limited to 'drivers/sbus/char/flash.c')
-rw-r--r-- | drivers/sbus/char/flash.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/sbus/char/flash.c b/drivers/sbus/char/flash.c index 202ff8f75afb..0427e586975f 100644 --- a/drivers/sbus/char/flash.c +++ b/drivers/sbus/char/flash.c | |||
@@ -207,8 +207,11 @@ static const struct of_device_id flash_match[] = { | |||
207 | MODULE_DEVICE_TABLE(of, flash_match); | 207 | MODULE_DEVICE_TABLE(of, flash_match); |
208 | 208 | ||
209 | static struct of_platform_driver flash_driver = { | 209 | static struct of_platform_driver flash_driver = { |
210 | .name = "flash", | 210 | .driver = { |
211 | .match_table = flash_match, | 211 | .name = "flash", |
212 | .owner = THIS_MODULE, | ||
213 | .of_match_table = flash_match, | ||
214 | }, | ||
212 | .probe = flash_probe, | 215 | .probe = flash_probe, |
213 | .remove = __devexit_p(flash_remove), | 216 | .remove = __devexit_p(flash_remove), |
214 | }; | 217 | }; |