Skip to content

Commit

Permalink
[POWERPC] QE: extern par_io_config_pin and par_io_data_set funcs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Sep 14, 2007
1 parent 5a24e1a commit 364f8ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/asm-powerpc/qe.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 364f8ff

Please sign in to comment.