]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: s3c: add s3c_rtc_data structure to use variant data instead of s3c_cpu_type
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 13 Oct 2014 22:52:33 +0000 (15:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2014 00:18:17 +0000 (02:18 +0200)
commit356164b2da9416c0a924d7d133820f44b3308acf
treef6596bb217bd96544c67108122c6b9b495d774b0
parentd0f230f12e86f5e1833ee66742582e92288cc614
rtc: s3c: add s3c_rtc_data structure to use variant data instead of s3c_cpu_type

Add s3c_rtc_data structure to variant data according to SoC type.  The
s3c_rtc_data structure includes some functions to control RTC operation
and specific data dependent on SoC type.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-s3c.c