diff options
Diffstat (limited to 'drivers/serial/sunzilog.c')
-rw-r--r-- | drivers/serial/sunzilog.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/serial/sunzilog.c b/drivers/serial/sunzilog.c index 20f9be8cd949..34fb8e84504f 100644 --- a/drivers/serial/sunzilog.c +++ b/drivers/serial/sunzilog.c | |||
@@ -1491,8 +1491,11 @@ static const struct of_device_id zs_match[] = { | |||
1491 | MODULE_DEVICE_TABLE(of, zs_match); | 1491 | MODULE_DEVICE_TABLE(of, zs_match); |
1492 | 1492 | ||
1493 | static struct of_platform_driver zs_driver = { | 1493 | static struct of_platform_driver zs_driver = { |
1494 | .name = "zs", | 1494 | .driver = { |
1495 | .match_table = zs_match, | 1495 | .name = "zs", |
1496 | .owner = THIS_MODULE, | ||
1497 | .of_match_table = zs_match, | ||
1498 | }, | ||
1496 | .probe = zs_probe, | 1499 | .probe = zs_probe, |
1497 | .remove = __devexit_p(zs_remove), | 1500 | .remove = __devexit_p(zs_remove), |
1498 | }; | 1501 | }; |