X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fhwmon%2Fit87.c;h=53cc2b6d63854a835e661a0b2921640b6e36e915;hb=736c7b808f38f3bb72941345e11e236ec65dec3d;hp=d1e04c40e64cbbf30921e9963ac8980bb875a3bf;hpb=2ed2dc3c116d26fc6a9384e83d136b15cc203b6c;p=linux-2.6 diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c index d1e04c40e6..53cc2b6d63 100644 --- a/drivers/hwmon/it87.c +++ b/drivers/hwmon/it87.c @@ -37,10 +37,9 @@ #include #include #include -#include -#include -#include #include +#include +#include #include #include @@ -51,7 +50,7 @@ static unsigned short normal_i2c[] = { 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, static unsigned short isa_address = 0x290; /* Insmod parameters */ -SENSORS_INSMOD_2(it87, it8712); +I2C_CLIENT_INSMOD_2(it87, it8712); #define REG 0x2e /* The register to read/write */ #define DEV 0x07 /* Register: Logical device select */ @@ -920,7 +919,7 @@ int it87_detect(struct i2c_adapter *adapter, int address, int kind) } if (data->type == it8712) { - data->vrm = i2c_which_vrm(); + data->vrm = vid_which_vrm(); device_create_file_vrm(new_client); device_create_file_vid(new_client); }