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)
commit5cdceab3d5e02eb69ea0f5d8fa9181800baf6f77
tree26ab04f2c46e8d7bd09bc8ed64523e22f6c5d9fa
parent18f38132528c3e603c66ea464727b29e9bbcb91b
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