]> err.no Git - linux-2.6/commitdiff
[POWERPC] QE: extern par_io_config_pin and par_io_data_set funcs
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 23 Aug 2007 11:35:53 +0000 (15:35 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 14 Sep 2007 13:53:49 +0000 (08:53 -0500)
This is needed to configure and control QE pario pins from the kernel.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
include/asm-powerpc/qe.h

index 9d304b1f1608bf94f2e0b145d6ebc18afab75222..ad23c580631cfc929ee2499db1a4f861cff20d3a 100644 (file)
@@ -32,6 +32,9 @@
 extern void qe_reset(void);
 extern int par_io_init(struct device_node *np);
 extern int par_io_of_config(struct device_node *np);
+extern int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain,
+                            int assignment, int has_irq);
+extern int par_io_data_set(u8 port, u8 pin, u8 val);
 
 /* QE internal API */
 int qe_issue_cmd(u32 cmd, u32 device, u8 mcn_protocol, u32 cmd_input);