summaryrefslogtreecommitdiffstats
path: root/include/media/si4713.h
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2014-04-06 13:05:17 +0200
committerSebastian Reichel <sre@kernel.org>2014-04-26 01:49:02 +0200
commit46ae5c45b5abacf18efb1f7b5f18c9d44553cb42 (patch)
treee9f2c8a9aca957413318eb1da4fa9fc79a6f8bbf /include/media/si4713.h
parentbb15410a5979b0238156f9443987c9f30e76e7af (diff)
downloadlinux-46ae5c45b5abacf18efb1f7b5f18c9d44553cb42.tar.bz2
[media] si4713: add Device Tree support
Update si4713 driver to support being instantiated via Device Tree. This includes moving the regulator names back into the drivers, using regulator_get_optional to avoid breaking the USB driver and switching to the gpio resource interface. Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'include/media/si4713.h')
-rw-r--r--include/media/si4713.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/media/si4713.h b/include/media/si4713.h
index f98a0a7af61c..be4f58e2440b 100644
--- a/include/media/si4713.h
+++ b/include/media/si4713.h
@@ -23,9 +23,7 @@
* Platform dependent definition
*/
struct si4713_platform_data {
- const char * const *supply_names;
- unsigned supplies;
- int gpio_reset; /* < 0 if not used */
+ bool is_platform_device;
};
/*