aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/irqchip/irq-s3c24xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-s3c24xx.c b/drivers/irqchip/irq-s3c24xx.c
index f6fd57ebe6e6..c19766fe8a1a 100644
--- a/drivers/irqchip/irq-s3c24xx.c
+++ b/drivers/irqchip/irq-s3c24xx.c
@@ -250,7 +250,7 @@ static int s3c_irqext0_type(struct irq_data *data, unsigned int type)
250 void __iomem *gpcon_reg; 250 void __iomem *gpcon_reg;
251 unsigned long gpcon_offset, extint_offset; 251 unsigned long gpcon_offset, extint_offset;
252 252
253 if ((data->hwirq >= 0) && (data->hwirq <= 3)) { 253 if (data->hwirq <= 3) {
254 gpcon_reg = S3C2410_GPFCON; 254 gpcon_reg = S3C2410_GPFCON;
255 extint_reg = S3C24XX_EXTINT0; 255 extint_reg = S3C24XX_EXTINT0;
256 gpcon_offset = (data->hwirq) * 2; 256 gpcon_offset = (data->hwirq) * 2;