From: Maciej W. Rozycki Date: Mon, 14 Jul 2008 20:38:33 +0000 (+0200) Subject: i2c-sibyte: SWARM I2C board initialization X-Git-Tag: v2.6.27-rc1~1077^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=392a0408fdc4c9069c32a9a02b0088eae76c4618;p=pandora-kernel.git i2c-sibyte: SWARM I2C board initialization The standard rtc-m41t80.c driver cannot be used with the SWARM as it is, because the board does not provide setup information for the I2C core. As a result the bus and the address to probe for the M41T80 chip is not known. Here is a set of changes that fix the problem: 1. swarm-i2c.c -- SWARM I2C board setup, currently for the M41T80 chip on the bus #1 only (there is a MAX6654 temperature sensor on the bus #0 which may be added in the future if we have a driver for that chip). 2. The i2c-sibyte.c BCM1250A SMBus controller driver now registers its buses as numbered so that board setup is correctly applied. Signed-off-by: Maciej W. Rozycki Signed-off-by: Jean Delvare --- Reading git-diff-tree failed