commit | a58fbcd8ad17ddaa0c7aadbbbd20de4ebc807fa4 | [log] [tgz] |
---|---|---|
author | Eric Miao <eric.miao@marvell.com> | Tue Jan 06 17:37:37 2009 +0800 |
committer | Eric Miao <eric.miao@marvell.com> | Mon Mar 09 21:22:37 2009 +0800 |
tree | 00b0a13c0dbe7155d5b529f9d36cc423996a3e19 | |
parent | 7ebc8d56f407184a457dd5fc739cf39e423a25aa [diff] |
[ARM] pxa: move IRQ handling of GPIO 0 and 1 outside of gpio.c This is part of the work making gpio.c generic enough, the changes include: 1. move IRQ handling of GPIO 0 and 1 outside (and back into irq.c) 2. pxa_init_gpio() accepts a range for muxed GPIO IRQs, and an IRQ number for the muxed GPIOs 3. __gpio_is_occupied() and __gpio_is_inverted() are made inline, and are moved into <mach/gpio.h> instead of generic gpio.c Signed-off-by: Eric Miao <eric.miao@marvell.com>