]> git.baikalelectronics.ru Git - kernel.git/commit
bbc-i2c: Fix BBC I2C envctrl on SunBlade 2000
authorChristopher Alexander Tobias Schulze <cat.schulze@alice-dsl.net>
Sun, 3 Aug 2014 13:44:52 +0000 (15:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Aug 2014 23:53:43 +0000 (16:53 -0700)
commit653ce5267ceb98631b2d1a1aee6c3671083f2662
tree26ab04f2c46e8d7bd09bc8ed64523e22f6c5d9fa
parentbd17dc4036d471333cf272badea99bfe460e7f1d
bbc-i2c: Fix BBC I2C envctrl on SunBlade 2000

Fix regression in bbc i2c temperature and fan control on some Sun systems
that causes the driver to refuse to load due to the bbc_i2c_bussel resource not
being present on the (second) i2c bus where the temperature sensors and fan
control are located. (The check for the number of resources was removed when
the driver was ported to a pure OF driver in mid 2008.)

Signed-off-by: Christopher Alexander Tobias Schulze <cat.schulze@alice-dsl.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/bbc_envctrl.c
drivers/sbus/char/bbc_i2c.c