[PATCH] chardev: GPIO for SCx200 & PC-8736x: migrate file-ops to common module
[profile/ivi/kernel-adaptation-intel-automotive.git] / include / linux / nsc_gpio.h
index 3ad8ae9..27bf66f 100644 (file)
@@ -31,3 +31,8 @@ struct nsc_gpio_ops {
        int     (*gpio_current) (unsigned iminor);
 };
 
+extern ssize_t nsc_gpio_write(struct file *file, const char __user *data,
+                             size_t len, loff_t *ppos);
+
+extern ssize_t nsc_gpio_read(struct file *file, char __user *buf,
+                            size_t len, loff_t *ppos);