[PATCH 3/5] watchdog: npcm: make it explicitly non-modular
Guenter Roeck
linux at roeck-us.net
Tue Apr 30 02:40:14 AEST 2019
On Tue, Apr 23, 2019 at 11:48:33AM -0400, Paul Gortmaker wrote:
> The Kconfig currently controlling compilation of this code is:
>
> config NPCM7XX_WATCHDOG
> bool "Nuvoton NPCM750 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.
>
> 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_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.
>
> Cc: Avi Fishman <avifishman70 at gmail.com>
> Cc: Tomer Maimon <tmaimon77 at gmail.com>
> Cc: Tali Perry <tali.perry1 at gmail.com>
> Cc: Patrick Venture <venture at google.com>
> Cc: Nancy Yuen <yuenn at google.com>
> Cc: Benjamin Fair <benjaminfair at google.com>
> Cc: Wim Van Sebroeck <wim at linux-watchdog.org>
> Cc: Guenter Roeck <linux at roeck-us.net>
> Cc: openbmc at lists.ozlabs.org
> Cc: linux-watchdog at vger.kernel.org
> Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
I'll send a different patch to make the driver tristate,
to follow the example given by other drivers for the same chipset.
Guenter
More information about the openbmc
mailing list