mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Cc: Heiko Stuebner <[email protected]> Cc: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
3971dae51d
commit
cd1e6f9e53
1 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
},
|
||||
{},
|
||||
|
|
|
|||
Loading…
Reference in a new issue