diff options
Diffstat (limited to 'drivers/parport/parport_sunbpp.c')
-rw-r--r-- | drivers/parport/parport_sunbpp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/parport/parport_sunbpp.c b/drivers/parport/parport_sunbpp.c index 065f229580d..9a5b4b89416 100644 --- a/drivers/parport/parport_sunbpp.c +++ b/drivers/parport/parport_sunbpp.c | |||
@@ -382,8 +382,11 @@ static const struct of_device_id bpp_match[] = { | |||
382 | MODULE_DEVICE_TABLE(of, bpp_match); | 382 | MODULE_DEVICE_TABLE(of, bpp_match); |
383 | 383 | ||
384 | static struct of_platform_driver bpp_sbus_driver = { | 384 | static struct of_platform_driver bpp_sbus_driver = { |
385 | .name = "bpp", | 385 | .driver = { |
386 | .match_table = bpp_match, | 386 | .name = "bpp", |
387 | .owner = THIS_MODULE, | ||
388 | .of_match_table = bpp_match, | ||
389 | }, | ||
387 | .probe = bpp_probe, | 390 | .probe = bpp_probe, |
388 | .remove = __devexit_p(bpp_remove), | 391 | .remove = __devexit_p(bpp_remove), |
389 | }; | 392 | }; |