drivers/char: make efirtc.c driver explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 8 Aug 2015 20:35:02 +0000 (16:35 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 02:32:35 +0000 (19:32 -0700)
commit9b7ebe01294a956109571ef66bd2942e3b9c2410
tree0d43b7882055e99dfe2668619ea9f351639b9c5b
parent67dd339c725496000627a777a4ed8580bb4db86f
drivers/char: make efirtc.c driver explicitly non-modular

The Kconfig for this driver is currently:

config EFI_RTC
        bool "EFI Real Time Clock Services"

...meaning that it currently is not being built as a module by anyone.
Lets remove all modular references, so that when reading the driver
there is no doubt it is builtin-only.

Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.

We leave some tags like MODULE_LICENSE for documentation purposes.

Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/efirtc.c