|
@@ -1,20 +1,18 @@
|
|
|
/* rtc-starfire.c: Starfire platform RTC driver.
|
|
|
+ *
|
|
|
+ * Author: David S. Miller
|
|
|
+ * License: GPL
|
|
|
*
|
|
|
* Copyright (C) 2008 David S. Miller <davem@davemloft.net>
|
|
|
*/
|
|
|
|
|
|
#include <linux/kernel.h>
|
|
|
-#include <linux/module.h>
|
|
|
#include <linux/init.h>
|
|
|
#include <linux/rtc.h>
|
|
|
#include <linux/platform_device.h>
|
|
|
|
|
|
#include <asm/oplib.h>
|
|
|
|
|
|
-MODULE_AUTHOR("David S. Miller <davem@davemloft.net>");
|
|
|
-MODULE_DESCRIPTION("Starfire RTC driver");
|
|
|
-MODULE_LICENSE("GPL");
|
|
|
-
|
|
|
static u32 starfire_get_time(void)
|
|
|
{
|
|
|
static char obp_gettod[32];
|
|
@@ -57,4 +55,4 @@ static struct platform_driver starfire_rtc_driver = {
|
|
|
},
|
|
|
};
|
|
|
|
|
|
-module_platform_driver_probe(starfire_rtc_driver, starfire_rtc_probe);
|
|
|
+builtin_platform_driver_probe(starfire_rtc_driver, starfire_rtc_probe);
|