mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
rtc: sparc: make sun4v explicitly non-modular
The Kconfig currently controlling compilation of this code is: drivers/rtc/Kconfig:config RTC_DRV_SUN4V drivers/rtc/Kconfig: bool "SUN4V Hypervisor RTC" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modular infrastructure use, so that when reading the driver there is no doubt it is builtin-only. We delete the MODULE_LICENSE tag etc. since all that information was (or is now) contained at the top of the file in the comments. Cc: Alessandro Zummo <[email protected]> Cc: Alexandre Belloni <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
This commit is contained in:
parent
683cec8a06
commit
8b6102534c
1 changed files with 4 additions and 6 deletions
|
|
@ -1,4 +1,7 @@
|
|||
/* rtc-sun4v.c: Hypervisor based RTC for SUN4V systems.
|
||||
*
|
||||
* Author: David S. Miller
|
||||
* License: GPL
|
||||
*
|
||||
* Copyright (C) 2008 David S. Miller <davem@davemloft.net>
|
||||
*/
|
||||
|
|
@ -6,7 +9,6 @@
|
|||
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/rtc.h>
|
||||
|
|
@ -98,8 +100,4 @@ static struct platform_driver sun4v_rtc_driver = {
|
|||
},
|
||||
};
|
||||
|
||||
module_platform_driver_probe(sun4v_rtc_driver, sun4v_rtc_probe);
|
||||
|
||||
MODULE_AUTHOR("David S. Miller <[email protected]>");
|
||||
MODULE_DESCRIPTION("SUN4V RTC driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
builtin_platform_driver_probe(sun4v_rtc_driver, sun4v_rtc_probe);
|
||||
|
|
|
|||
Loading…
Reference in a new issue