summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDinesh Ram <Dinesh.Ram@cern.ch>2013-10-15 12:24:44 -0300
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:52:38 +0900
commit34d64956b0b13f590cad16b68ab64e72a3c219c0 (patch)
tree302ec88ff965a2075abf815d2be641fdb1dbaaf1 /include
parent50323da1f310b39c81cf56a9a1d68b610d28376b (diff)
downloadlinux-3.10-34d64956b0b13f590cad16b68ab64e72a3c219c0.tar.gz
linux-3.10-34d64956b0b13f590cad16b68ab64e72a3c219c0.tar.bz2
linux-3.10-34d64956b0b13f590cad16b68ab64e72a3c219c0.zip
upstream: [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 'include')
-rw-r--r--include/media/si4713.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/si4713.h b/include/media/si4713.h
index ed7353e8a98..f98a0a7af61 100644
--- a/include/media/si4713.h
+++ b/include/media/si4713.h
@@ -23,6 +23,8 @@
* Platform dependent definition
*/
struct si4713_platform_data {
+ const char * const *supply_names;
+ unsigned supplies;
int gpio_reset; /* < 0 if not used */
};