|
@@ -250,7 +250,7 @@ static int s3c_irqext0_type(struct irq_data *data, unsigned int type)
|
|
|
void __iomem *gpcon_reg;
|
|
|
unsigned long gpcon_offset, extint_offset;
|
|
|
|
|
|
- if ((data->hwirq >= 0) && (data->hwirq <= 3)) {
|
|
|
+ if (data->hwirq <= 3) {
|
|
|
gpcon_reg = S3C2410_GPFCON;
|
|
|
extint_reg = S3C24XX_EXTINT0;
|
|
|
gpcon_offset = (data->hwirq) * 2;
|