Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326922
b: refs/heads/master
c: 7f4b48b
h: refs/heads/master
v: v3
  • Loading branch information
Tony Prisk committed Sep 21, 2012
1 parent 5fc5934 commit 52475df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb935e71577ad0fb5babe34c5494de6a0093693d
refs/heads/master: 7f4b48b363263d2b62e3d0adecf56045994e721d
9 changes: 8 additions & 1 deletion trunk/drivers/rtc/rtc-vt8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <linux/bcd.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/of.h>

/*
* Register definitions
Expand Down Expand Up @@ -302,18 +303,24 @@ static int __devexit vt8500_rtc_remove(struct platform_device *pdev)
return 0;
}

static const struct of_device_id wmt_dt_ids[] = {
{ .compatible = "via,vt8500-rtc", },
{}
};

static struct platform_driver vt8500_rtc_driver = {
.probe = vt8500_rtc_probe,
.remove = __devexit_p(vt8500_rtc_remove),
.driver = {
.name = "vt8500-rtc",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(wmt_dt_ids),
},
};

module_platform_driver(vt8500_rtc_driver);

MODULE_AUTHOR("Alexey Charkov <alchark@gmail.com>");
MODULE_DESCRIPTION("VIA VT8500 SoC Realtime Clock Driver (RTC)");
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:vt8500-rtc");

0 comments on commit 52475df

Please sign in to comment.