X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=drivers%2Fhwmon%2Fads7828.c;h=ed60242d6a0ad89a77af8f7cc675b92b114ce4dc;hb=1ca8c07bda717c683a8fb148f92ab484928414b6;hp=cfcc3b6fb6bf9fcc4cdafbd7351206769ee61144;hpb=9785dbdf265ddc47d5c88267d89a97648c0dc14b;p=mirror_ubuntu-artful-kernel.git diff --git a/drivers/hwmon/ads7828.c b/drivers/hwmon/ads7828.c index cfcc3b6fb6bf..ed60242d6a0a 100644 --- a/drivers/hwmon/ads7828.c +++ b/drivers/hwmon/ads7828.c @@ -48,8 +48,8 @@ static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, I2C_CLIENT_END }; /* Module parameters */ -static int se_input = 1; /* Default is SE, 0 == diff */ -static int int_vref = 1; /* Default is internal ref ON */ +static bool se_input = 1; /* Default is SE, 0 == diff */ +static bool int_vref = 1; /* Default is internal ref ON */ static int vref_mv = ADS7828_INT_VREF_MV; /* set if vref != 2.5V */ module_param(se_input, bool, S_IRUGO); module_param(int_vref, bool, S_IRUGO);