Commit a6dc5446 authored by wanzongshun's avatar wanzongshun Committed by Russell King

ARM: 7157/1: fix a building WARNING for nuc900

This patch is to fix a WARNING which is the "modpost: Found 1 section
mismatch(es)" for nuc900 platform.
Signed-off-by: default avatarWan ZongShun <mcuos.com@gmail.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent e7c86c7b
...@@ -422,7 +422,7 @@ struct platform_device nuc900_device_kpi = { ...@@ -422,7 +422,7 @@ struct platform_device nuc900_device_kpi = {
/* LCD controller*/ /* LCD controller*/
static struct nuc900fb_display __initdata nuc900_lcd_info[] = { static struct nuc900fb_display nuc900_lcd_info[] = {
/* Giantplus Technology GPM1040A0 320x240 Color TFT LCD */ /* Giantplus Technology GPM1040A0 320x240 Color TFT LCD */
[0] = { [0] = {
.type = LCM_DCCS_VA_SRC_RGB565, .type = LCM_DCCS_VA_SRC_RGB565,
...@@ -445,7 +445,7 @@ static struct nuc900fb_display __initdata nuc900_lcd_info[] = { ...@@ -445,7 +445,7 @@ static struct nuc900fb_display __initdata nuc900_lcd_info[] = {
}, },
}; };
static struct nuc900fb_mach_info nuc900_fb_info __initdata = { static struct nuc900fb_mach_info nuc900_fb_info = {
#if defined(CONFIG_GPM1040A0_320X240) #if defined(CONFIG_GPM1040A0_320X240)
.displays = &nuc900_lcd_info[0], .displays = &nuc900_lcd_info[0],
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment