• Paul Gortmaker's avatar
    ACPI / GED: make evged.c explicitly non-modular · 437014bd
    Paul Gortmaker authored
    The Makefile/Kconfig currently controlling compilation of this code is:
    
    Makefile:acpi-$(CONFIG_ACPI_REDUCED_HARDWARE_ONLY) += evged.o
    
    drivers/acpi/Kconfig:config ACPI_REDUCED_HARDWARE_ONLY
    drivers/acpi/Kconfig:   bool "Hardware-reduced ACPI support only" if EXPERT
    
    ...meaning that it currently is not being built as a module by anyone.
    
    Lets remove the couple traces of modularity so that when reading the
    code there is no doubt it is builtin-only.
    
    Since module_platform_driver() uses the same init level priority as
    builtin_platform_driver() the init ordering remains unchanged with
    this commit.
    
    The file wasn't explicitly including the module.h file but it did
    already have init.h so, unlike similar changes, this one has no
    header changes at all.
    
    We also delete the MODULE_LICENSE tag since all that information
    is already contained at the top of the file in the comments.
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    437014bd
evged.c 3.76 KB