aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/plat-samsung/adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/adc.c b/arch/arm/plat-samsung/adc.c
index 120b7902fc2f..c7659b7378b1 100644
--- a/arch/arm/plat-samsung/adc.c
+++ b/arch/arm/plat-samsung/adc.c
@@ -295,7 +295,7 @@ static irqreturn_t s3c_adc_irq(int irq, void *pw)
295 } 295 }
296 296
297exit: 297exit:
298 if (platform_get_device_id(client->pdev)->driver_data == TYPE_S3C64XX) { 298 if (platform_get_device_id(adc->pdev)->driver_data == TYPE_S3C64XX) {
299 /* Clear ADC interrupt */ 299 /* Clear ADC interrupt */
300 writel(0, adc->regs + S3C64XX_ADCCLRINT); 300 writel(0, adc->regs + S3C64XX_ADCCLRINT);
301 } 301 }