From: Andreas Werner Date: Thu, 23 Jan 2014 23:55:20 +0000 (-0800) Subject: drivers/rtc/rtc-rx8581.c: add SMBus-only adapters support X-Git-Tag: v3.14-rc1~108^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d643a49ae16c755b3dc2ef897438b7d9c6dd488b;p=pandora-kernel.git drivers/rtc/rtc-rx8581.c: add SMBus-only adapters support Add support for SMBus-only adapters (e.g. i2c-piix4). The driver has implemented only support for I2C adapters which implement the I2C_FUNC_SMBUS_I2C_BLOCK functionality before. With this patch it is possible to load and use the RTC driver with I2C and SMBUS adapters like the rtc-ds1307 does. Tested on AMD G Series Platform (i2c-piix4 adapter driver). Signed-off-by: Andreas Werner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed