[3/5] drivers/tty: make hvc_console.c explicitly non-modular
Michael Ellerman
mpe at ellerman.id.au
Mon Aug 10 16:38:10 AEST 2015
On Sun, 2015-09-08 at 00:51:35 UTC, Paul Gortmaker wrote:
> The Kconfig currently controlling compilation of this code is:
>
> drivers/tty/hvc/Kconfig:config HVC_DRIVER
> drivers/tty/hvc/Kconfig: bool
>
> ...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, even
> though someone bothered to comment that the code was not used.
>
> Unlike other changes, this driver binds in w/o using module_init,
> so we dont have init ordering concerns with this commit.
>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: Jiri Slaby <jslaby at suse.com>
> Cc: linuxppc-dev at lists.ozlabs.org
> Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
Seems sane to me, possibly back in the deep dark past it could be a module, but
no point keeping the code around if it can't anymore.
Acked-by: Michael Ellerman <mpe at ellerman.id.au>
cheers
More information about the Linuxppc-dev
mailing list