diff options
Diffstat (limited to 'arch/arm/mach-s5p64x0/irq-eint.c')
-rw-r--r-- | arch/arm/mach-s5p64x0/irq-eint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s5p64x0/irq-eint.c b/arch/arm/mach-s5p64x0/irq-eint.c index fe7380f5c3c..494e1a8f6f6 100644 --- a/arch/arm/mach-s5p64x0/irq-eint.c +++ b/arch/arm/mach-s5p64x0/irq-eint.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/irq.h> | 17 | #include <linux/irq.h> |
18 | #include <linux/io.h> | 18 | #include <linux/io.h> |
19 | 19 | ||
20 | #include <plat/cpu.h> | ||
20 | #include <plat/regs-irqtype.h> | 21 | #include <plat/regs-irqtype.h> |
21 | #include <plat/gpio-cfg.h> | 22 | #include <plat/gpio-cfg.h> |
22 | 23 | ||
@@ -67,7 +68,7 @@ static int s5p64x0_irq_eint_set_type(struct irq_data *data, unsigned int type) | |||
67 | __raw_writel(ctrl, S5P64X0_EINT0CON0); | 68 | __raw_writel(ctrl, S5P64X0_EINT0CON0); |
68 | 69 | ||
69 | /* Configure the GPIO pin for 6450 or 6440 based on CPU ID */ | 70 | /* Configure the GPIO pin for 6450 or 6440 based on CPU ID */ |
70 | if (0x50000 == (__raw_readl(S5P64X0_SYS_ID) & 0xFF000)) | 71 | if (soc_is_s5p6450()) |
71 | s3c_gpio_cfgpin(S5P6450_GPN(offs), S3C_GPIO_SFN(2)); | 72 | s3c_gpio_cfgpin(S5P6450_GPN(offs), S3C_GPIO_SFN(2)); |
72 | else | 73 | else |
73 | s3c_gpio_cfgpin(S5P6440_GPN(offs), S3C_GPIO_SFN(2)); | 74 | s3c_gpio_cfgpin(S5P6440_GPN(offs), S3C_GPIO_SFN(2)); |