]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: make rtc-lib explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2016 18:55:25 +0000 (14:55 -0400)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 4 Nov 2016 22:31:29 +0000 (23:31 +0100)
commit4b683fbfe376635b03e5c858ea8ae36a8395c0d4
treeece02bdd7fbd5438db23145169de5e9941cb1a0f
parentb36c71eff4f0344982fb28192a6185f0610ddabe
rtc: make rtc-lib explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/rtc/Kconfig:config RTC_LIB
drivers/rtc/Kconfig:    bool

...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 since all that information
is already contained at the top of the file in the comments.

We don't replace module.h with init.h since the file doesn't need that.
However we do add export.h since the file uses EXPORT_SYMBOL.

Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: rtc-linux@googlegroups.com
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-lib.c