]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/video/leo.c
of: Remove duplicate fields from of_platform_driver
[net-next-2.6.git] / drivers / video / leo.c
index e145e2d16fe37414d40e7c1ce4df3831b3752ddc..3d7895316eaf37e79bb56f2413d748fcbdfca131 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/kernel.h>
 #include <linux/errno.h>
 #include <linux/string.h>
-#include <linux/slab.h>
 #include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/fb.h>
@@ -664,8 +663,11 @@ static const struct of_device_id leo_match[] = {
 MODULE_DEVICE_TABLE(of, leo_match);
 
 static struct of_platform_driver leo_driver = {
-       .name           = "leo",
-       .match_table    = leo_match,
+       .driver = {
+               .name = "leo",
+               .owner = THIS_MODULE,
+               .of_match_table = leo_match,
+       },
        .probe          = leo_probe,
        .remove         = __devexit_p(leo_remove),
 };