radeonfb: Let hwmon driver probe the "monid" I2C bus
authorJean Delvare <khali@linux-fr.org>
Thu, 3 Feb 2011 08:23:10 +0000 (08:23 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 07:17:48 +0000 (16:17 +0900)
commit49bb0943329929e73c9a22c97d53c6c8967eb243
treefb364bcc2a603c9bd27c4db19f571d3b03e9ca27
parentbeee1f20a185c7e79fd33bb83e04fe44ecd75af3
radeonfb: Let hwmon driver probe the "monid" I2C bus

Some Radeon cards have an I2C-based thermal sensor chip connected to
the "monid" I2C bus. Set the I2C probing class of this bus properly so
that hwmon drivers can detect devices on it and bind to them.

This closes kernel.org bug #26172.

We exclude PPC for the time being, as Benjamin doesn't want us to
mess up with them without explicit testing, and there is no evidence
that this change is needed for them either.

Reported-by: Alexander Goomenyuk <emerg.reanimator@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/aty/radeon_i2c.c