diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2016-08-22 17:59:48 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-08-24 15:21:01 -0400 |
commit | 4068bd192a124585b9c55673a4ac5b3988abd981 (patch) | |
tree | 4f2d62b83b4fadb608022b3bbdc96b15c23db62d | |
parent | caf5548caaece50b552117d30e33a13f51f425d1 (diff) |
PCI: generic: Make explicitly non-modular
This code is not being built as a module by anyone:
drivers/pci/host/Kconfig:config PCI_HOST_COMMON
drivers/pci/host/Kconfig: bool
Remove uses of MODULE_DESCRIPTION(), MODULE_AUTHOR(), MODULE_LICENSE(),
etc., so that when reading the driver there is no doubt it is builtin-only.
The information is preserved in comments at the top of the file.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Will Deacon <will.deacon@arm.com>
-rw-r--r-- | drivers/pci/host/pci-host-common.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/pci/host/pci-host-common.c b/drivers/pci/host/pci-host-common.c index 9d9d34e959b6..946382fd4ea1 100644 --- a/drivers/pci/host/pci-host-common.c +++ b/drivers/pci/host/pci-host-common.c | |||
@@ -1,4 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Generic PCI host driver common code | ||
3 | * | ||
2 | * This program is free software; you can redistribute it and/or modify | 4 | * This program is free software; you can redistribute it and/or modify |
3 | * it under the terms of the GNU General Public License version 2 as | 5 | * it under the terms of the GNU General Public License version 2 as |
4 | * published by the Free Software Foundation. | 6 | * published by the Free Software Foundation. |
@@ -17,7 +19,6 @@ | |||
17 | */ | 19 | */ |
18 | 20 | ||
19 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
20 | #include <linux/module.h> | ||
21 | #include <linux/of_address.h> | 22 | #include <linux/of_address.h> |
22 | #include <linux/of_pci.h> | 23 | #include <linux/of_pci.h> |
23 | #include <linux/pci-ecam.h> | 24 | #include <linux/pci-ecam.h> |
@@ -162,7 +163,3 @@ int pci_host_common_probe(struct platform_device *pdev, | |||
162 | pci_bus_add_devices(bus); | 163 | pci_bus_add_devices(bus); |
163 | return 0; | 164 | return 0; |
164 | } | 165 | } |
165 | |||
166 | MODULE_DESCRIPTION("Generic PCI host driver common code"); | ||
167 | MODULE_AUTHOR("Will Deacon <will.deacon@arm.com>"); | ||
168 | MODULE_LICENSE("GPL v2"); | ||