summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-rx51-peripherals.c
diff options
context:
space:
mode:
authorDinesh Ram <Dinesh.Ram@cern.ch>2013-10-15 12:24:44 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-18 06:40:07 -0200
commitcc6d618fdf56df389e46be2f0c9f2d1579d8b9e6 (patch)
treee8ed42a9ec355329c19133c8847a8b276c2a3708 /arch/arm/mach-omap2/board-rx51-peripherals.c
parent99995dedea0e956ff58692fd795b8a8a0669e3a5 (diff)
downloadop-kernel-dev-cc6d618fdf56df389e46be2f0c9f2d1579d8b9e6.zip
op-kernel-dev-cc6d618fdf56df389e46be2f0c9f2d1579d8b9e6.tar.gz
[media] si4713: move supply list to si4713_platform_data
The supply list is needed by the platform driver, but not by the usb driver. So this information belongs to the platform data and should not be hardcoded in the subdevice driver. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Tested-by: Eduardo Valentin <edubezval@gmail.com> Acked-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-peripherals.c')
-rw-r--r--arch/arm/mach-omap2/board-rx51-peripherals.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
index f093af17..8760bbe 100644
--- a/arch/arm/mach-omap2/board-rx51-peripherals.c
+++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
@@ -760,7 +760,14 @@ static struct regulator_init_data rx51_vintdig = {
},
};
+static const char * const si4713_supply_names[] = {
+ "vio",
+ "vdd",
+};
+
static struct si4713_platform_data rx51_si4713_i2c_data __initdata_or_module = {
+ .supplies = ARRAY_SIZE(si4713_supply_names),
+ .supply_names = si4713_supply_names,
.gpio_reset = RX51_FMTX_RESET_GPIO,
};
OpenPOWER on IntegriCloud