Commit aeec1346 authored by Marek Vasut's avatar Marek Vasut Committed by Eric Miao

[ARM] pxa/vpac270: remove TS_IRQ magic number

The touchscreen GPIO IRQ was used as a magic number. Define it properly in the
board header file. This is a simple cleanup patch.
Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent 052345ae
...@@ -37,4 +37,6 @@ ...@@ -37,4 +37,6 @@
#define GPIO36_VPAC270_IDE_IRQ 36 #define GPIO36_VPAC270_IDE_IRQ 36
#define GPIO113_VPAC270_TS_IRQ 113
#endif #endif
...@@ -388,7 +388,7 @@ static pxa2xx_audio_ops_t vpac270_ac97_pdata = { ...@@ -388,7 +388,7 @@ static pxa2xx_audio_ops_t vpac270_ac97_pdata = {
}; };
static struct ucb1400_pdata vpac270_ucb1400_pdata = { static struct ucb1400_pdata vpac270_ucb1400_pdata = {
.irq = IRQ_GPIO(113), .irq = IRQ_GPIO(GPIO113_VPAC270_TS_IRQ),
}; };
static struct platform_device vpac270_ucb1400_device = { static struct platform_device vpac270_ucb1400_device = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment