OSDN Git Service

drivers/firmware: Make efi/esrt.c driver explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 25 Aug 2015 23:00:48 +0000 (19:00 -0400)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 12 Oct 2015 13:20:05 +0000 (14:20 +0100)
commit18aefbc5cc075617b00ffefba70029541e18fd1a
tree83c2c4ce0940755c438c031f866c42325b58120b
parent0ce423b6492a02be11662bfaa837dd16945aad3e
drivers/firmware: Make efi/esrt.c driver explicitly non-modular

The Kconfig for this driver is currently hidden with:

config EFI_ESRT
        bool

...meaning that it currently is not being built as a module by anyone.
Lets remove the modular code that is essentially orphaned, 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_AUTHOR for documentation purposes.

We don't replace module.h with init.h since the file already has that.

Cc: Peter Jones <pjones@redhat.com>
Cc: linux-efi@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/efi/esrt.c