projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
074c54f
)
ARM: mxs: add mxs-sgtl5000 device
author
Dong Aisheng
<b29396@freescale.com>
Wed, 20 Jul 2011 03:41:44 +0000
(11:41 +0800)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Tue, 23 Aug 2011 06:56:14 +0000
(08:56 +0200)
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
arch/arm/mach-mxs/mach-mx28evk.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-mxs/mach-mx28evk.c
b/arch/arm/mach-mxs/mach-mx28evk.c
index fe5ea4149e8b4ba82f5bbccaa763ffdacf462610..521c4d5fd90f50609a8f6a52832aab9e2dccd6de 100644
(file)
--- 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");