diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2016-02-22 00:06:08 (GMT) |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2016-03-21 15:14:04 (GMT) |
commit | e01dc539df3ada9061a1097224513236b5381349 (patch) | |
tree | 8a1cc933ed08c3b2cdef27433a66e3d2d9d8066d /drivers/tty | |
parent | 46894f17af151f9f2050821aaa889a32c7cbd16f (diff) | |
download | linux-e01dc539df3ada9061a1097224513236b5381349.tar.xz |
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/tty')
0 files changed, 0 insertions, 0 deletions