Skip to content

Commit

Permalink
drivers/rtc/rtc-s3c.c: fix compilation error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tushar Behera authored and Linus Torvalds committed Apr 12, 2012
1 parent 3971dae commit cd1e6f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/rtc/rtc-s3c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{},
Expand Down

0 comments on commit cd1e6f9

Please sign in to comment.