From: Scott Jiang Date: Tue, 14 Aug 2012 15:59:31 +0000 (-0400) Subject: Blackfin: bf537: fix lq035 platform device name X-Git-Tag: v3.7-rc1~76^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57820b34690ab6c8b367d6b8b61c21a1fe99f867;p=thirdparty%2Flinux.git Blackfin: bf537: fix lq035 platform device name Lq035 fb driver uses KBUILD_MODNAME which is bf537_lq035 instead of bf537-lq035. Signed-off-by: Scott Jiang Signed-off-by: Bob Liu --- diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 5ed654ae66e14..6acbead90fad4 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c @@ -1525,7 +1525,7 @@ static struct platform_device bfin_sport_spi1_device = { #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) static struct platform_device bfin_fb_device = { - .name = "bf537-lq035", + .name = "bf537_lq035", }; #endif