rtc: s3c: Do not remove const from rodata memory
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 16 Jun 2017 19:28:05 +0000 (21:28 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 24 Jun 2017 20:52:38 +0000 (22:52 +0200)
commit6b72086d8594febb9e9d63cfb29d950da17e8f06
tree42dfc2166ba0dd1900c86111afbafba1d43de9be
parent21df6fed0db35cf4382734126bd206b6c750e17c
rtc: s3c: Do not remove const from rodata memory

All instances of struct s3c_rtc_data are in fact static const thus
put in rodata so we should not drop the const while getting the pointer
to them.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-s3c.c