]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
platform/x86: intel_turbo_max_3: make it explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 14 Feb 2017 00:37:00 +0000 (19:37 -0500)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 25 Feb 2017 07:48:54 +0000 (23:48 -0800)
commitaf050abb5c2e5e7d3e1368475d63cbac597dc34f
tree50108ef5608802705536c7d364f058f750753dee
parent8d2c4538dbc7154c4aed1364db127a0e51dbd459
platform/x86: intel_turbo_max_3: make it explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/platform/x86/Kconfig:config INTEL_TURBO_MAX_3
drivers/platform/x86/Kconfig:   bool "Intel Turbo Boost Max Technology 3.0 enumeration driver"

...meaning that it currently is not being built as a module by anyone.

Lets remove the couple traces of modular infrastructure use, so that
when reading the driver there is no doubt it is builtin-only.

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.

We do uncover some implicit includes during build coverage that
were hidden behind the module.h which pulls in a lot of dependants.

Cc: Andy Shevchenko <andy@infradead.org>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: platform-driver-x86@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/intel_turbo_max_3.c