ACPI / PCI: make pci_slot explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 11 Jul 2016 22:17:23 +0000 (18:17 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 16 Jul 2016 01:05:29 +0000 (03:05 +0200)
commitffaab0aa2c3edd67a0cafbc66f9cc39276f233fa
tree92efab8601e9f361d228388c86c6c946f6f404bd
parent409ffed2b6ae1d5db3cefed2e0fb2ca7e3f352bd
ACPI / PCI: make pci_slot explicitly non-modular

The Kconfig for this file is:

drivers/acpi/Kconfig:config ACPI_PCI_SLOT
drivers/acpi/Kconfig:   bool "PCI slot detection driver"

...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

We delete the DRIVER_VERSION macro as well since it is unused.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pci_slot.c
This page took 0.027235 seconds and 5 git commands to generate.