aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/fsl_upm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/fsl_upm.c')
-rw-r--r--drivers/mtd/nand/fsl_upm.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/mtd/nand/fsl_upm.c b/drivers/mtd/nand/fsl_upm.c
index 4b96296af321..b7ab5a0ec35d 100644
--- a/drivers/mtd/nand/fsl_upm.c
+++ b/drivers/mtd/nand/fsl_upm.c
@@ -357,8 +357,11 @@ static struct of_device_id of_fun_match[] = {
357MODULE_DEVICE_TABLE(of, of_fun_match); 357MODULE_DEVICE_TABLE(of, of_fun_match);
358 358
359static struct of_platform_driver of_fun_driver = { 359static struct of_platform_driver of_fun_driver = {
360 .name = "fsl,upm-nand", 360 .driver = {
361 .match_table = of_fun_match, 361 .name = "fsl,upm-nand",
362 .owner = THIS_MODULE,
363 .of_match_table = of_fun_match,
364 },
362 .probe = fun_probe, 365 .probe = fun_probe,
363 .remove = __devexit_p(fun_remove), 366 .remove = __devexit_p(fun_remove),
364}; 367};