summaryrefslogtreecommitdiffstats
path: root/kernel/include/video/of_videomode.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/video/of_videomode.h')
-rw-r--r--kernel/include/video/of_videomode.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/include/video/of_videomode.h b/kernel/include/video/of_videomode.h
new file mode 100644
index 000000000..a07efcc51
--- /dev/null
+++ b/kernel/include/video/of_videomode.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>
+ *
+ * videomode of-helpers
+ *
+ * This file is released under the GPLv2
+ */
+
+#ifndef __LINUX_OF_VIDEOMODE_H
+#define __LINUX_OF_VIDEOMODE_H
+
+struct device_node;
+struct videomode;
+
+int of_get_videomode(struct device_node *np, struct videomode *vm,
+ int index);
+
+#endif /* __LINUX_OF_VIDEOMODE_H */