summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/si4713/si4713.h
diff options
context:
space:
mode:
authorDinesh Ram <Dinesh.Ram@cern.ch>2013-10-15 17:24:44 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-18 09:40:07 +0100
commitcc6d618fdf56df389e46be2f0c9f2d1579d8b9e6 (patch)
treee8ed42a9ec355329c19133c8847a8b276c2a3708 /drivers/media/radio/si4713/si4713.h
parent[media] si4713: Added MAINTAINERS entry for radio-usb-si4713 driver (diff)
downloadlinux-cc6d618fdf56df389e46be2f0c9f2d1579d8b9e6.tar.xz
linux-cc6d618fdf56df389e46be2f0c9f2d1579d8b9e6.zip
[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 'drivers/media/radio/si4713/si4713.h')
-rw-r--r--drivers/media/radio/si4713/si4713.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/radio/si4713/si4713.h b/drivers/media/radio/si4713/si4713.h
index 1410cd23105a..4837cf6e0e1b 100644
--- a/drivers/media/radio/si4713/si4713.h
+++ b/drivers/media/radio/si4713/si4713.h
@@ -227,7 +227,8 @@ struct si4713_device {
struct v4l2_ctrl *tune_ant_cap;
};
struct completion work;
- struct regulator_bulk_data supplies[SI4713_NUM_SUPPLIES];
+ unsigned supplies;
+ struct regulator_bulk_data supply_data[SI4713_NUM_SUPPLIES];
int gpio_reset;
u32 power_state;
u32 rds_enabled;