Re: [lm-sensors] [PATCH -next] hwmon: jc42 depends on I2C

From: Jean Delvare
Date: Wed Aug 11 2010 - 14:15:47 EST


On Wed, 11 Aug 2010 10:43:31 -0700, Guenter Roeck wrote:
> On Wed, 2010-08-11 at 13:35 -0400, Randy Dunlap wrote:
> > From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> >
> > jc42 uses i2c interfaces, so it should depend on I2C.
> >
> > drivers/hwmon/jc42.c:426: error: implicit declaration of function 'i2c_check_functionality'
> > drivers/hwmon/jc42.c:521: error: implicit declaration of function 'i2c_smbus_read_word_data'
> > drivers/hwmon/jc42.c:529: error: implicit declaration of function 'i2c_smbus_write_word_data'
> > drivers/hwmon/jc42.c:580: error: implicit declaration of function 'i2c_add_driver'
> > drivers/hwmon/jc42.c:585: error: implicit declaration of function 'i2c_del_driver'
> >
> > Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> > Cc: lm-sensors@xxxxxxxxxxxxxx
> Acked-by: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx>

Applied, thanks.

--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/