In previous GPMC patch, there was a typo. Fix typo and add header files for
set_irq_type() warnings.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
 #include <linux/interrupt.h>
 #include <linux/delay.h>
 #include <linux/leds.h>
+#include <linux/irq.h>
 
 #include <asm/hardware.h>
 #include <asm/mach-types.h>
                return;
        }
        apollon_smc91x_resources[0].start = base + 0x300;
-       apollon_smc91x_resources[1].end   = base + 0x30f;
+       apollon_smc91x_resources[0].end   = base + 0x30f;
        udelay(100);
 
        omap_cfg_reg(W4__24XX_GPIO74);