diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/s3c244x-irq.c')
-rw-r--r-- | arch/arm/mach-s3c2410/s3c244x-irq.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c2410/s3c244x-irq.c b/arch/arm/mach-s3c2410/s3c244x-irq.c index 74be83c4126e..44c5affa9b89 100644 --- a/arch/arm/mach-s3c2410/s3c244x-irq.c +++ b/arch/arm/mach-s3c2410/s3c244x-irq.c | |||
@@ -119,21 +119,24 @@ static int s3c244x_irq_add(struct sys_device *sysdev) | |||
119 | return 0; | 119 | return 0; |
120 | } | 120 | } |
121 | 121 | ||
122 | static struct sysdev_driver s3c244x_irq_driver = { | 122 | static struct sysdev_driver s3c2440_irq_driver = { |
123 | .add = s3c244x_irq_add, | 123 | .add = s3c244x_irq_add, |
124 | }; | 124 | }; |
125 | 125 | ||
126 | static int s3c2440_irq_init(void) | 126 | static int s3c2440_irq_init(void) |
127 | { | 127 | { |
128 | return sysdev_driver_register(&s3c2440_sysclass, &s3c244x_irq_driver); | 128 | return sysdev_driver_register(&s3c2440_sysclass, &s3c2440_irq_driver); |
129 | } | 129 | } |
130 | 130 | ||
131 | arch_initcall(s3c2440_irq_init); | 131 | arch_initcall(s3c2440_irq_init); |
132 | 132 | ||
133 | static struct sysdev_driver s3c2442_irq_driver = { | ||
134 | .add = s3c244x_irq_add, | ||
135 | }; | ||
133 | 136 | ||
134 | static int s3c2442_irq_init(void) | 137 | static int s3c2442_irq_init(void) |
135 | { | 138 | { |
136 | return sysdev_driver_register(&s3c2442_sysclass, &s3c244x_irq_driver); | 139 | return sysdev_driver_register(&s3c2442_sysclass, &s3c2442_irq_driver); |
137 | } | 140 | } |
138 | 141 | ||
139 | arch_initcall(s3c2442_irq_init); | 142 | arch_initcall(s3c2442_irq_init); |