Index: linux-2.6/drivers/hwmon/s3c24xx-adc.c
===================================================================
--- linux-2.6.orig/drivers/hwmon/s3c24xx-adc.c	2006-03-25 16:27:31.000000000 +0100
+++ linux-2.6/drivers/hwmon/s3c24xx-adc.c	2006-03-25 16:29:10.000000000 +0100
@@ -30,13 +30,13 @@
 #include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/err.h>
+#include <linux/clk.h>
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
 
 #include <linux/hwmon.h>
 #include <linux/hwmon-sysfs.h>
 
-#include <asm/hardware/clock.h>
 #include <asm/io.h>
 
 #include <asm/arch/regs-adc.h>
@@ -182,7 +182,6 @@
 
 	if (!IS_ERR(adc->clk) && adc->clk != NULL) {
 		clk_disable(adc->clk);
-		clk_unuse(adc->clk);
 		clk_put(adc->clk);
 		adc->clk = NULL;
 	}
@@ -289,7 +288,6 @@
 		goto out_err;
 	}
 
-	clk_use(adc->clk);
 	/* only enable the clock when we are actually using the adc */
 
 	init_waitqueue_head(&adc->wait);
@@ -394,8 +392,8 @@
 }
 
 #else
-#define s3c24xx_i2c_suspend NULL
-#define s3c24xx_i2c_resume NULL
+#define s3c24xx_adc_suspend NULL
+#define s3c24xx_adc_resume NULL
 #endif
 
 static struct device_driver s3c2410_adc_driver = {

