summaryrefslogtreecommitdiffstats
path: root/kernel/include/media/sr030pc30.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/media/sr030pc30.h')
-rw-r--r--kernel/include/media/sr030pc30.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel/include/media/sr030pc30.h b/kernel/include/media/sr030pc30.h
new file mode 100644
index 000000000..6f901a653
--- /dev/null
+++ b/kernel/include/media/sr030pc30.h
@@ -0,0 +1,21 @@
+/*
+ * Driver header for SR030PC30 camera sensor
+ *
+ * Copyright (c) 2010 Samsung Electronics, Co. Ltd
+ * Contact: Sylwester Nawrocki <s.nawrocki@samsung.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef SR030PC30_H
+#define SR030PC30_H
+
+struct sr030pc30_platform_data {
+ unsigned long clk_rate; /* master clock frequency in Hz */
+ int (*set_power)(struct device *dev, int on);
+};
+
+#endif /* SR030PC30_H */