summaryrefslogtreecommitdiff
path: root/drivers/staging/camera_flash/adp1653_plat.h
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2012-04-06 11:11:33 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-04-06 11:11:33 +0200
commit51e8d6a38d035e820d1f9ea539d34cd76e348620 (patch)
tree2402a95655c57268d0b82a9de7f8c3903ab06506 /drivers/staging/camera_flash/adp1653_plat.h
parent5c807f98e94548dac3fcbd391389c0869f8a9f32 (diff)
parent281be9692190c4a4dff54633d254fce5d4a6bea5 (diff)
Merge topic branch 'ste-multimedia-framework' into integration-linux-ux500-3.3
Diffstat (limited to 'drivers/staging/camera_flash/adp1653_plat.h')
-rwxr-xr-xdrivers/staging/camera_flash/adp1653_plat.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/staging/camera_flash/adp1653_plat.h b/drivers/staging/camera_flash/adp1653_plat.h
new file mode 100755
index 00000000000..325097aa2a8
--- /dev/null
+++ b/drivers/staging/camera_flash/adp1653_plat.h
@@ -0,0 +1,24 @@
+/*
+ * adp1653_plat.h
+ * ADP1653 Led Flash Driver platform specific structures
+ *
+ * Copyright (C) ST-Ericsson SA 2011
+ * Author: Rajat Verma <rajat.verma@stericsson.com>
+ *
+ * License Terms: GNU General Public License v2
+ */
+
+#ifndef __LINUX_I2C_ADP1653_PLAT_H__
+#define __LINUX_I2C_ADP1653_PLAT_H__
+
+/**
+ * struct adp1653_platform_data - platform data structure for adp1653
+ * @enable_gpio: gpio for chip enable/disable
+ * @irq_no: interrupt line for flash ic
+ */
+struct adp1653_platform_data {
+ u32 enable_gpio;
+ u32 irq_no;
+};
+
+#endif //__LINUX_I2C_ADP1653_PLAT_H__