summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-04-12 12:49:14 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-04-12 13:12:12 -0700
commitcd1e6f9e53e1a673a489826729709aaffa8ad621 (patch)
treead21faabe2c6e2211c302bf449fd0cae5e28aa0a /drivers
parent3971dae51d7cccf4c8197786b050b3a65ace01f0 (diff)
drivers/rtc/rtc-s3c.c: fix compilation error
Fix this error: drivers/rtc/rtc-s3c.c: At top level: drivers/rtc/rtc-s3c.c:671:3: error: request for member `data' in something not a structure or union drivers/rtc/rtc-s3c.c:674:3: error: request for member `data' in something not a structure or union drivers/rtc/rtc-s3c.c:677:3: error: request for member `data' in something not a structure or union drivers/rtc/rtc-s3c.c:680:3: error: request for member `data' in something not a structure or union Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Cc: Heiko Stuebner <heiko@sntech.de> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rtc/rtc-s3c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c
index 9ccea134a99..2087953f108 100644
--- a/drivers/rtc/rtc-s3c.c
+++ b/drivers/rtc/rtc-s3c.c
@@ -667,16 +667,16 @@ static int s3c_rtc_resume(struct platform_device *pdev)
#ifdef CONFIG_OF
static const struct of_device_id s3c_rtc_dt_match[] = {
{
- .compatible = "samsung,s3c2410-rtc"
+ .compatible = "samsung,s3c2410-rtc",
.data = TYPE_S3C2410,
}, {
- .compatible = "samsung,s3c2416-rtc"
+ .compatible = "samsung,s3c2416-rtc",
.data = TYPE_S3C2416,
}, {
- .compatible = "samsung,s3c2443-rtc"
+ .compatible = "samsung,s3c2443-rtc",
.data = TYPE_S3C2443,
}, {
- .compatible = "samsung,s3c6410-rtc"
+ .compatible = "samsung,s3c6410-rtc",
.data = TYPE_S3C64XX,
},
{},