]> err.no Git - linux-2.6/blobdiff - drivers/hwmon/gl518sm.c
[PATCH] vt: fix possible memory corruption in complement_pos
[linux-2.6] / drivers / hwmon / gl518sm.c
index 15376a6e0494ca04fd43ac5bf6aa30496f9756ce..256b9323c84b1e83f087cf51a3b34bb9190548fb 100644 (file)
@@ -41,7 +41,6 @@
 #include <linux/slab.h>
 #include <linux/jiffies.h>
 #include <linux/i2c.h>
-#include <linux/i2c-sensor.h>
 #include <linux/hwmon.h>
 #include <linux/err.h>
 
@@ -49,7 +48,7 @@
 static unsigned short normal_i2c[] = { 0x2c, 0x2d, I2C_CLIENT_END };
 
 /* Insmod parameters */
-SENSORS_INSMOD_2(gl518sm_r00, gl518sm_r80);
+I2C_CLIENT_INSMOD_2(gl518sm_r00, gl518sm_r80);
 
 /* Many GL518 constants specified below */