I2C: keywest class
PATCH 1/1 I2C: keywest class
Hi Greg,
This is needed for iBook2 owners to be able to use their ADM1030 hardware monitoring chip. Successfully tested by one user.
Please apply,
thanks.
Signed-off-by Jean Delvare <khali at linux-fr dot org>
drivers/i2c/busses/i2c-keywest.c renamed from drivers/i2c/busses/i2c-keywest.c.orig +2 -0
@@ -618,6 +618,8 @@ chan->iface = iface; chan->chan_no = i; chan->adapter.id =I2C_ALGO_SMBUS ; +if (i=1 ) + chan->adapter.class =I2C_CLASS_HWMON ; chan->adapter.algo = &keywest_algorithm; chan->adapter.algo_data =NULL ; chan->adapter.client_register =NULL ;
Signature · 2 lines
Jean "Khali" Delvare http://khali.linux-fr.org/
Greg KH
AppliedPATCH 1/1 I2C: keywest class
Quoted 6 lines · Jean Delvare
Hi Greg,
This is needed for iBook2 owners to be able to use their ADM1030 hardware monitoring chip. Successfully tested by one user.
Please apply,
Applied, thanks.
greg k-h