From: Dong Aisheng Date: Wed, 20 Jul 2011 03:41:44 +0000 (+0800) Subject: ARM: mxs: add mxs-sgtl5000 device X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ce9b8e6f9f8bf363c30024ba900e75a1af734742;p=~shefty%2Frdma-dev.git ARM: mxs: add mxs-sgtl5000 device Signed-off-by: Dong Aisheng Cc: Sascha Hauer Reviewed-by: Wolfram Sang --- diff --git a/arch/arm/mach-mxs/mach-mx28evk.c b/arch/arm/mach-mxs/mach-mx28evk.c index fe5ea4149e8..521c4d5fd90 100644 --- a/arch/arm/mach-mxs/mach-mx28evk.c +++ b/arch/arm/mach-mxs/mach-mx28evk.c @@ -424,6 +424,9 @@ static void __init mx28evk_init(void) i2c_register_board_info(0, mxs_i2c0_board_info, ARRAY_SIZE(mxs_i2c0_board_info)); + mxs_add_platform_device("mxs-sgtl5000", 0, NULL, 0, + NULL, 0); + /* power on mmc slot by writing 0 to the gpio */ ret = gpio_request_one(MX28EVK_MMC0_SLOT_POWER, GPIOF_OUT_INIT_LOW, "mmc0-slot-power");