]> err.no Git - linux-2.6/blobdiff - drivers/hwmon/w83627hf.c
V4L/DVB (3500): Ringbuffer: don't reset pointers to zero
[linux-2.6] / drivers / hwmon / w83627hf.c
index 27cfde1cd0232f71e5adee1cbee755e74d835818..7ea441d4da63ecb9ba65b8b2be1387aa6f9179e5 100644 (file)
@@ -332,8 +332,9 @@ static struct w83627hf_data *w83627hf_update_device(struct device *dev);
 static void w83627hf_init_client(struct i2c_client *client);
 
 static struct i2c_driver w83627hf_driver = {
-       .owner          = THIS_MODULE,
-       .name           = "w83627hf",
+       .driver = {
+               .name   = "w83627hf",
+       },
        .attach_adapter = w83627hf_detect,
        .detach_client  = w83627hf_detach_client,
 };
@@ -1009,7 +1010,7 @@ static int w83627hf_detect(struct i2c_adapter *adapter)
                address = force_addr & WINB_ALIGNMENT;
 
        if (!request_region(address + WINB_REGION_OFFSET, WINB_REGION_SIZE,
-                           w83627hf_driver.name)) {
+                           w83627hf_driver.driver.name)) {
                err = -EBUSY;
                goto ERROR0;
        }