aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sibyte/patches-3.3/.svn/text-base/105-sibyte_hwmon.patch.svn-base
diff options
context:
space:
mode:
authorJames <>2013-03-17 12:16:37 +0000
committerJames <>2013-03-17 12:16:37 +0000
commit27b76ab0671089c47506615a796a261e993896a7 (patch)
tree61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/sibyte/patches-3.3/.svn/text-base/105-sibyte_hwmon.patch.svn-base
downloadtrunk-36060-master.tar.gz
trunk-36060-master.tar.bz2
trunk-36060-master.zip
Diffstat (limited to 'target/linux/sibyte/patches-3.3/.svn/text-base/105-sibyte_hwmon.patch.svn-base')
-rw-r--r--target/linux/sibyte/patches-3.3/.svn/text-base/105-sibyte_hwmon.patch.svn-base23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/sibyte/patches-3.3/.svn/text-base/105-sibyte_hwmon.patch.svn-base b/target/linux/sibyte/patches-3.3/.svn/text-base/105-sibyte_hwmon.patch.svn-base
new file mode 100644
index 0000000..93dd423
--- /dev/null
+++ b/target/linux/sibyte/patches-3.3/.svn/text-base/105-sibyte_hwmon.patch.svn-base
@@ -0,0 +1,23 @@
+--- a/arch/mips/sibyte/swarm/swarm-i2c.c
++++ b/arch/mips/sibyte/swarm/swarm-i2c.c
+@@ -13,6 +13,11 @@
+ #include <linux/init.h>
+ #include <linux/kernel.h>
+
++static struct i2c_board_info swarm_i2c_info0[] __initdata = {
++ {
++ I2C_BOARD_INFO("lm90", 0x2a),
++ },
++};
+
+ static struct i2c_board_info swarm_i2c_info1[] __initdata = {
+ {
+@@ -24,6 +29,8 @@ static int __init swarm_i2c_init(void)
+ {
+ int err;
+
++ err = i2c_register_board_info(0, swarm_i2c_info0,
++ ARRAY_SIZE(swarm_i2c_info0));
+ err = i2c_register_board_info(1, swarm_i2c_info1,
+ ARRAY_SIZE(swarm_i2c_info1));
+ if (err < 0)