Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296723
b: refs/heads/master
c: ea983ed
h: refs/heads/master
i:
  296721: 2dfeae6
  296719: f88c954
v: v3
  • Loading branch information
Jason Cooper committed Mar 16, 2012
1 parent abe0248 commit fcd9b9f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 163f2cea673a4ae831ad2cd26d8f01977c3add93
refs/heads/master: ea983ede1195982c64220e9030c28ff111c8655c
9 changes: 9 additions & 0 deletions trunk/drivers/rtc/rtc-mv.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <linux/bcd.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/delay.h>
#include <linux/gfp.h>
#include <linux/module.h>
Expand Down Expand Up @@ -294,11 +295,19 @@ static int __exit mv_rtc_remove(struct platform_device *pdev)
return 0;
}

#ifdef CONFIG_OF
static struct of_device_id rtc_mv_of_match_table[] = {
{ .compatible = "mrvl,orion-rtc", },
{}
};
#endif

static struct platform_driver mv_rtc_driver = {
.remove = __exit_p(mv_rtc_remove),
.driver = {
.name = "rtc-mv",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(rtc_mv_of_match_table),
},
};

Expand Down

0 comments on commit fcd9b9f

Please sign in to comment.