Skip to content
  • Paul Gortmaker's avatar
    ACPI / dock: make dock explicitly non-modular · 0f093e95
    Paul Gortmaker authored
    
    
    The Kconfig for this file is:
    
    drivers/acpi/Kconfig:config ACPI_DOCK
    drivers/acpi/Kconfig:   bool "Dock"
    
    ...and so it is not built as a module.  Hence including module.h
    and everything that comes with it just for the no-op MODULE_LICENSE
    and friends is rather heavy handed.
    
    The license/author info is found at the top of the file, so we
    just remove the MODULE_LICENSE etc and the include of module.h
    
    The file does still have some module_param() so we add the right
    include for that infrastructure.
    
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    0f093e95