diff options
author | Colin Cross <ccross@android.com> | 2011-01-07 17:14:48 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-01-07 17:14:48 -0800 |
commit | bd842b53fada517017d192c8a12fc9a38e6250e1 (patch) | |
tree | 57399eb06aba47199535f8a5d42023465eb5001f /drivers/rtc | |
parent | 5a5f348ffc433c0483b5c13ebefe73adb5e68f2b (diff) | |
parent | d77cf23f1befd3922d81b91cb01fd3da619e0206 (diff) |
Merge commit 'v2.6.36.3' into linux-tegra-2.6.36
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-rs5c372.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-rs5c372.c b/drivers/rtc/rtc-rs5c372.c index 90cf0a6ff23e..dd14e202c2c8 100644 --- a/drivers/rtc/rtc-rs5c372.c +++ b/drivers/rtc/rtc-rs5c372.c @@ -207,7 +207,7 @@ static int rs5c372_get_datetime(struct i2c_client *client, struct rtc_time *tm) static int rs5c372_set_datetime(struct i2c_client *client, struct rtc_time *tm) { struct rs5c372 *rs5c = i2c_get_clientdata(client); - unsigned char buf[8]; + unsigned char buf[7]; int addr; dev_dbg(&client->dev, "%s: tm is secs=%d, mins=%d, hours=%d " |