]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rtc-ds1307 add ds3231
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 17 Jun 2009 23:26:10 +0000 (16:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:03:43 +0000 (13:03 -0700)
commite981475d6f8082353ad4add2cc0fcf7747263b6e
tree219df2ddebc1b6ab2acf071fdcc6d507e1e649a3
parentc52647b9374b7a5ab09c141571c712771ccb66fe
rtc: rtc-ds1307 add ds3231

Add ds3231 variant.  For that, the BBSQI bit position was changed from a
simple define into a lookup-array as it differs.  This also removes
writing to an unused bit in case of the ds1337.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds1307.c