summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/via-gpio.h
diff options
context:
space:
mode:
authorJonathan Corbet2010-04-23 01:39:34 +0200
committerJonathan Corbet2010-05-08 01:17:37 +0200
commit7582eb9be85f35271fd2569681a88a5b243e9380 (patch)
tree84a234364b9e314e7b25800d473e6047da379a56 /drivers/video/via/via-gpio.h
parentviafb: Convert GPIO and i2c to the new indexed port ops (diff)
downloadkernel-qcow2-linux-7582eb9be85f35271fd2569681a88a5b243e9380.tar.gz
kernel-qcow2-linux-7582eb9be85f35271fd2569681a88a5b243e9380.tar.xz
kernel-qcow2-linux-7582eb9be85f35271fd2569681a88a5b243e9380.zip
viafb: Turn GPIO and i2c into proper platform devices
Another step toward making this thing a real multifunction device driver. 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 'drivers/video/via/via-gpio.h')
-rw-r--r--drivers/video/via/via-gpio.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/via/via-gpio.h b/drivers/video/via/via-gpio.h
index 7b53f966eb4b..8281aea3dd6d 100644
--- a/drivers/video/via/via-gpio.h
+++ b/drivers/video/via/via-gpio.h
@@ -8,8 +8,7 @@
#ifndef __VIA_GPIO_H__
#define __VIA_GPIO_H__
-extern int viafb_create_gpios(struct viafb_dev *vdev,
- const struct via_port_cfg *port_cfg);
-extern int viafb_destroy_gpios(void);
extern int viafb_gpio_lookup(const char *name);
+extern int viafb_gpio_init(void);
+extern void viafb_gpio_exit(void);
#endif