summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2015-08-08 16:35:04 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-20 19:32:35 -0700
commita8cedfec8f68e199ce9d00cee7868a5c65640bbc (patch)
treedfaa411b09d2345094941265d41fa2cce2d3f283 /drivers/misc
parentff6f46483f0e14b829cd5a71bafcbb1c136a84b6 (diff)
downloadop-kernel-dev-a8cedfec8f68e199ce9d00cee7868a5c65640bbc.zip
op-kernel-dev-a8cedfec8f68e199ce9d00cee7868a5c65640bbc.tar.gz
drivers/char: make hpet.c explicitly non-modular
The Kconfig currently controlling compilation of this code is: char/Kconfig:config HPET char/Kconfig: bool "HPET - High Precision Event Timer" if (X86 || IA64) ...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. We don't replace module.h with init.h since the file already has that. Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code. We leave some tags like MODULE_AUTHOR for documentation purposes. Cc: Arnd Bergmann <arnd@arndb.de> Cc: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud