]> git.hungrycats.org Git - linux/commitdiff
[I2C]: If comparing against ULONG_MAX, use ulong type, in lm85.c
authorDavid S. Miller <davem@nuts.davemloft.net>
Thu, 19 Feb 2004 13:39:24 +0000 (05:39 -0800)
committerDavid S. Miller <davem@nuts.davemloft.net>
Thu, 19 Feb 2004 13:39:24 +0000 (05:39 -0800)
drivers/i2c/chips/lm85.c

index 5fe55616896199798c2161fdedd22a48e0a57c82..93eb6a84704452d42cca82abc2f5de6c67ddc1b3 100644 (file)
@@ -383,7 +383,7 @@ struct lm85_data {
        u8 syncpwm3;            /* Saved PWM3 for TACH 2,3,4 config */
        u8 oppoint[3];          /* Register value */
        u16 tmin_ctl;           /* Register value */
-       u32 therm_total;        /* Cummulative therm count */
+       unsigned long therm_total; /* Cummulative therm count */
        u8 therm_limit;         /* Register value */
        u16 alarms;             /* Register encoding, combined */
        struct lm85_autofan autofan[3];