diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2019-04-23 18:48:35 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-05-05 22:10:33 +0300 |
commit | 73027cb8e8390c8b19e5925d621b74066ccab215 (patch) | |
tree | 6168aeb4d2490faa2f121d28633b1de031e56ee9 /drivers/watchdog/intel_scu_watchdog.c | |
parent | 154511636a1cfcc94ac8b23b5aa79863c35206a7 (diff) | |
download | linux-73027cb8e8390c8b19e5925d621b74066ccab215.tar.xz |
watchdog: coh901327: make it explicitly non-modular
The Kconfig currently controlling compilation of this code is:
config COH901327_WATCHDOG
bool "ST-Ericsson COH 901 327 watchdog"
...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.
We explicitly disallow a driver unbind, since that doesn't have a
sensible use case anyway, and it allows us to drop the ".remove"
code for non-modular drivers.
Since module_platform_driver() uses the same init level priority as
builtin_platform_driver() the init ordering remains unchanged with
this commit.
Also note that MODULE_ALIAS is a no-op for non-modular code.
We also delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.
We replace module.h with moduleparam.h since the file does actually
declare some module parameters (i.e. boot args for non-modules).
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-watchdog@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/intel_scu_watchdog.c')
0 files changed, 0 insertions, 0 deletions