diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2007-08-23 07:35:53 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-09-14 09:53:49 -0400 |
commit | 364f8ffc182ac5431b156ca1915dd81ddd4a592b (patch) | |
tree | 255babe1eac4e2a4882a367764885d919a426918 /include/asm-powerpc/qe.h | |
parent | 5a24e1a1773f284d19859d27f2ba7e50a533aaaf (diff) |
[POWERPC] QE: extern par_io_config_pin and par_io_data_set funcs
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>
Diffstat (limited to 'include/asm-powerpc/qe.h')
-rw-r--r-- | include/asm-powerpc/qe.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/qe.h b/include/asm-powerpc/qe.h index 9d304b1f1608..ad23c580631c 100644 --- a/include/asm-powerpc/qe.h +++ b/include/asm-powerpc/qe.h | |||
@@ -32,6 +32,9 @@ | |||
32 | extern void qe_reset(void); | 32 | extern void qe_reset(void); |
33 | extern int par_io_init(struct device_node *np); | 33 | extern int par_io_init(struct device_node *np); |
34 | extern int par_io_of_config(struct device_node *np); | 34 | extern int par_io_of_config(struct device_node *np); |
35 | extern int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain, | ||
36 | int assignment, int has_irq); | ||
37 | extern int par_io_data_set(u8 port, u8 pin, u8 val); | ||
35 | 38 | ||
36 | /* QE internal API */ | 39 | /* QE internal API */ |
37 | int qe_issue_cmd(u32 cmd, u32 device, u8 mcn_protocol, u32 cmd_input); | 40 | int qe_issue_cmd(u32 cmd, u32 device, u8 mcn_protocol, u32 cmd_input); |