From: Greg KH <gregkh@linuxfoundation.org>
To: Fabio Estevam <fabio.estevam@freescale.com>
Cc: s.hauer@pengutronix.de, linux@roeck-us.net, linux-serial@vger.kernel.org
Subject: Re: [PATCH] serial: i.MX: do not allow to build as module
Date: Mon, 7 Oct 2013 19:06:36 -0700 [thread overview]
Message-ID: <20131008020636.GA32733@kroah.com> (raw)
In-Reply-To: <1381149872-13646-1-git-send-email-fabio.estevam@freescale.com>
On Mon, Oct 07, 2013 at 09:44:32AM -0300, Fabio Estevam wrote:
> From: Sascha Hauer <s.hauer@pengutronix.de>
>
> Commit f7d2c0bbdb (serial: i.MX: evaluate linux,stdout-path property) adds a
> call to add_preferred_console() into drivers/tty/serial/imx.c. The file can be
> built as module, yet add_preferred_console() is not exported.
>
> Fix the build failure by disabling module build for the i.MX driver.
>
> Reported-by: Guenter Roeck <linux@roeck-us.net>
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> drivers/tty/serial/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
> index 701ca60..47a05fd 100644
> --- a/drivers/tty/serial/Kconfig
> +++ b/drivers/tty/serial/Kconfig
> @@ -551,7 +551,7 @@ config BFIN_UART3_CTSRTS
> Enable hardware flow control in the driver.
>
> config SERIAL_IMX
> - tristate "IMX serial port support"
> + bool "IMX serial port support"
No, please don't force this driver to be built into the kernel. Do the
same as other drivers, and have a SERIAL_IMX_CONSOLE option, that splits
the code for the console layer out of the driver to only be built when
this option is selected. Lots of other serial drivers do this, and they
depend on when the driver is built into the kernel. Otherwise I, and
lots of other people (and distros), will NOT build this driver and test
it out.
sorry, I can't take this patch, and for now, I'm going to revert the
commit that is causing the build error, as we can't live with that for
now.
greg k-h
prev parent reply other threads:[~2013-10-08 2:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-07 12:44 [PATCH] serial: i.MX: do not allow to build as module Fabio Estevam
2013-10-08 2:06 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131008020636.GA32733@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=fabio.estevam@freescale.com \
--cc=linux-serial@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.