diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2016-02-22 01:06:08 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2016-03-21 16:14:04 +0100 |
commit | e01dc539df3ada9061a1097224513236b5381349 (patch) | |
tree | 8a1cc933ed08c3b2cdef27433a66e3d2d9d8066d /drivers/usb | |
parent | drivers/xen: make sys-hypervisor.c explicitly non-modular (diff) | |
download | linux-e01dc539df3ada9061a1097224513236b5381349.tar.xz linux-e01dc539df3ada9061a1097224513236b5381349.zip |
drivers/xen: make platform-pci.c explicitly non-modular
The Kconfig currently controlling compilation of this code is:
arch/x86/xen/Kconfig:config XEN_PVHVM
arch/x86/xen/Kconfig: def_bool y
...meaning that it currently is not being built as a module by anyone.
Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.
Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.
Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
We also delete the MODULE_LICENSE tag etc. since all that information
was (or is now) contained at the top of the file in the comments.
In removing "module" from the init fcn name, we observe a namespace
collision with the probe function, so we use "probe" in the name of
the probe function, and "init" in the registration fcn, as per
standard convention, as suggested by Stefano.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions