From: Sylvain Munaut <tnt@246tNt•com>
To: grant.likely@secretlab•ca
Cc: linuxppc-dev@ozlabs•org, paulus@samba•org
Subject: Re: [POWERPC] Fix mpc52xx serial driver to work for arch/ppc again
Date: Tue, 02 Jan 2007 23:52:15 +0100 [thread overview]
Message-ID: <459AE21F.9010201@246tNt.com> (raw)
In-Reply-To: <11677779373025-git-send-email-grant.likely@secretlab.ca>
grant.likely@secretlab•ca wrote:
> From: Grant Likely <grant.likely@secretlab•ca>
>
> The mpc52xx_uart_of_enumerate() function was added when adding 52xx
> support to arch/powerpc, but it must not be called for arch/ppc.
>
> Signed-off-by: Grant Likely <grant.likely@secretlab•ca>
>
Acked-by: Sylvain Munaut <tnt@246tNt•com>
obvious compile fix.
> ---
>
> Please include for .20; without this patch you cannot build an arch/ppc
> kernel for the lite52xx.
>
> drivers/serial/mpc52xx_uart.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/serial/mpc52xx_uart.c b/drivers/serial/mpc52xx_uart.c
> index 9d11a75..3c4b6c2 100644
> --- a/drivers/serial/mpc52xx_uart.c
> +++ b/drivers/serial/mpc52xx_uart.c
> @@ -789,7 +789,9 @@ static struct console mpc52xx_console =
> static int __init
> mpc52xx_console_init(void)
> {
> +#if defined(CONFIG_PPC_MERGE)
> mpc52xx_uart_of_enumerate();
> +#endif
> register_console(&mpc52xx_console);
> return 0;
> }
>
prev parent reply other threads:[~2007-01-02 22:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-02 22:45 [POWERPC] Fix mpc52xx serial driver to work for arch/ppc again grant.likely
2007-01-02 22:52 ` Sylvain Munaut [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=459AE21F.9010201@246tNt.com \
--to=tnt@246tnt$(echo .)com \
--cc=grant.likely@secretlab$(echo .)ca \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=paulus@samba$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox