]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/QE: prepare QE PIO code for GPIO LIB support
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Fri, 23 May 2008 16:38:58 +0000 (20:38 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 10 Jun 2008 15:39:18 +0000 (10:39 -0500)
commit9572653ee01a2134ae3a1d7aa29ce9d026a6afe9
treec136d6fbcd38eff44473abc6f4d6262181b63c3e
parent5e41486c408eb4206aee09303631427f57771691
powerpc/QE: prepare QE PIO code for GPIO LIB support

- split and export __par_io_config_pin() out of par_io_config_pin(), so we
  could use the prefixed version with GPIO LIB API;
- rename struct port_regs to qe_pio_regs, and place it into qe.h;
- rename #define NUM_OF_PINS to QE_PIO_PINS, and place it into qe.h.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-By: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/qe_lib/qe_io.c
include/asm-powerpc/qe.h