summaryrefslogtreecommitdiffstats
path: root/include/linux/via-gpio.h
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2010-05-05 14:44:55 -0600
committerJonathan Corbet <corbet@lwn.net>2010-05-11 16:07:59 -0600
commitec66841e495b9ab4f92bdf91efe8cf56e1471fbd (patch)
treeaee3762a85c20c87858bdcc5e3d2143dcec47058 /include/linux/via-gpio.h
parent9221fc6556d6fa14b5c61050dd87e26fc4ad255c (diff)
downloadlinux-ec66841e495b9ab4f92bdf91efe8cf56e1471fbd.tar.gz
linux-ec66841e495b9ab4f92bdf91efe8cf56e1471fbd.tar.bz2
linux-ec66841e495b9ab4f92bdf91efe8cf56e1471fbd.zip
viafb: move some include files to include/linux
These are the files which should be available to subdevices compiled outside of drivers/video/via. Cc: ScottFang@viatech.com.cn Cc: JosephChan@via.com.tw Cc: Harald Welte <laforge@gnumonks.org> Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'include/linux/via-gpio.h')
-rw-r--r--include/linux/via-gpio.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/via-gpio.h b/include/linux/via-gpio.h
new file mode 100644
index 000000000000..8281aea3dd6d
--- /dev/null
+++ b/include/linux/via-gpio.h
@@ -0,0 +1,14 @@
+/*
+ * Support for viafb GPIO ports.
+ *
+ * Copyright 2009 Jonathan Corbet <corbet@lwn.net>
+ * Distributable under version 2 of the GNU General Public License.
+ */
+
+#ifndef __VIA_GPIO_H__
+#define __VIA_GPIO_H__
+
+extern int viafb_gpio_lookup(const char *name);
+extern int viafb_gpio_init(void);
+extern void viafb_gpio_exit(void);
+#endif