Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into s3c-moves2
This commit is contained in:
@@ -455,6 +455,8 @@ static int __devinit s3c_rtc_probe(struct platform_device *pdev)
|
||||
|
||||
s3c_rtc_setfreq(&pdev->dev, 1);
|
||||
|
||||
device_init_wakeup(&pdev->dev, 1);
|
||||
|
||||
/* register RTC and exit */
|
||||
|
||||
rtc = rtc_device_register("s3c", &pdev->dev, &s3c_rtcops,
|
||||
@@ -507,7 +509,7 @@ static int s3c_rtc_resume(struct platform_device *pdev)
|
||||
#define s3c_rtc_resume NULL
|
||||
#endif
|
||||
|
||||
static struct platform_driver s3c2410_rtcdrv = {
|
||||
static struct platform_driver s3c2410_rtc_driver = {
|
||||
.probe = s3c_rtc_probe,
|
||||
.remove = __devexit_p(s3c_rtc_remove),
|
||||
.suspend = s3c_rtc_suspend,
|
||||
@@ -523,12 +525,12 @@ static char __initdata banner[] = "S3C24XX RTC, (c) 2004,2006 Simtec Electronics
|
||||
static int __init s3c_rtc_init(void)
|
||||
{
|
||||
printk(banner);
|
||||
return platform_driver_register(&s3c2410_rtcdrv);
|
||||
return platform_driver_register(&s3c2410_rtc_driver);
|
||||
}
|
||||
|
||||
static void __exit s3c_rtc_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&s3c2410_rtcdrv);
|
||||
platform_driver_unregister(&s3c2410_rtc_driver);
|
||||
}
|
||||
|
||||
module_init(s3c_rtc_init);
|
||||
|
Reference in New Issue
Block a user