]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteaad8233deaaf9b5279df313569b0777dbd1e978
tree92efab8601e9f361d228388c86c6c946f6f404bd
parente632944aefc42b31f6c2dd00aac50f17117e8c5d
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