From 7881975621077a7ebdbfdeeb24405ad468d83a15 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Sat, 19 Sep 2009 16:07:34 -0700 Subject: [PATCH] --- yaml --- r: 165489 b: refs/heads/master c: 894572a363539dc2e8ddde83056bd22fadb30748 h: refs/heads/master i: 165487: dfeef78467ca7f1fc9043ae27b7d20d47b54e005 v: v3 --- [refs] | 2 +- trunk/drivers/mtd/nand/sh_flctl.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f49425da063e..e55b516f0104 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c0cbfd0e81d879a950ba6f0df3f75ea30c5ab16e +refs/heads/master: 894572a363539dc2e8ddde83056bd22fadb30748 diff --git a/trunk/drivers/mtd/nand/sh_flctl.c b/trunk/drivers/mtd/nand/sh_flctl.c index c5df28596a4a..02bef21f2e4b 100644 --- a/trunk/drivers/mtd/nand/sh_flctl.c +++ b/trunk/drivers/mtd/nand/sh_flctl.c @@ -857,7 +857,6 @@ static int __exit flctl_remove(struct platform_device *pdev) } static struct platform_driver flctl_driver = { - .probe = flctl_probe, .remove = flctl_remove, .driver = { .name = "sh_flctl", @@ -867,7 +866,7 @@ static struct platform_driver flctl_driver = { static int __init flctl_nand_init(void) { - return platform_driver_register(&flctl_driver); + return platform_driver_probe(&flctl_driver, flctl_probe); } static void __exit flctl_nand_cleanup(void)