summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/portdrv_acpi.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2016-08-24 16:57:45 -0400
committerBjorn Helgaas <bhelgaas@google.com>2016-08-24 16:56:12 -0500
commitd7def20400773c7c0be8dcee58434ddbb0f6f8d9 (patch)
tree623187c2b20b42be83fa91625245a92d2687c033 /drivers/pci/pcie/portdrv_acpi.c
parent61612e6dd49d08e174e12f9aca58a4aca297609b (diff)
downloadlinux-d7def20400773c7c0be8dcee58434ddbb0f6f8d9.tar.bz2
PCI/PME: Make explicitly non-modular
This code is not being built as a module by anyone: config PCIE_PME def_bool y depends on PCIEPORTBUS && PM Remove traces of modularity so that when reading the driver there is no doubt it is builtin-only. Also delete the .remove function, since that doesn't seem to have a sensible use case. With "normal" endpoint drivers, we have in the past set the suppress_bind_attrs bit to make it clear that the use of ".remove" in a builtin driver was deleted, but here for PCI, it seems overkill to jump through the pcie_port_service_driver and into the struct device_driver in order to finally try and do something similar with the bind setting. Note that for non-modular code, module_init() translates to device_initcall(). Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pcie/portdrv_acpi.c')
0 files changed, 0 insertions, 0 deletions