From: Felipe Balbi Date: Fri, 13 Feb 2009 12:43:52 +0000 (+0200) Subject: arm: omap: n810: add lp5521 platform_data X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=eefbd42f5122547aa9d95490d324605bf04b45be;p=linux-2.6-omap-h63xx.git arm: omap: n810: add lp5521 platform_data Without it, driver won't probe. Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-n800.c b/arch/arm/mach-omap2/board-n800.c index b38b295cc35..18a0fe7c731 100644 --- a/arch/arm/mach-omap2/board-n800.c +++ b/arch/arm/mach-omap2/board-n800.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -628,6 +629,14 @@ static struct i2c_board_info __initdata n800_i2c_board_info_1[] = { }, }; +static struct lp5521_platform_data n810_lp5521_platform_data = { + .mode = LP5521_MODE_DIRECT_CONTROL, + .label = "n810", + .red_present = true, + .green_present = true, + .blue_present = true, +}; + extern struct tcm825x_platform_data n800_tcm825x_platform_data; static struct i2c_board_info __initdata_or_module n8x0_i2c_board_info_2[] = { @@ -657,6 +666,7 @@ static struct i2c_board_info __initdata_or_module n810_i2c_board_info_2[] = { }, { I2C_BOARD_INFO("lp5521", 0x32), + .platform_data = &n810_lp5521_platform_data, }, };