[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAT9DN=zCamO8HYVpj5R4KxoFMH-e3HjjYN6XmxYi3NNuw@mail.gmail.com>
Date: Sat, 13 Feb 2016 01:37:56 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-serial@...r.kernel.org, Jiri Slaby <jslaby@...e.com>
Subject: Re: [PATCH v2 4/6] serial: 8250/uniphier: fix modular build
Hi Arnd,
2016-02-12 19:07 GMT+09:00 Arnd Bergmann <arnd@...db.de>:
> On Friday 12 February 2016 18:37:08 Masahiro Yamada wrote:
>> > };
>> >
>> > -#ifdef CONFIG_SERIAL_8250_CONSOLE
>> > +#if defined(CONFIG_SERIAL_8250_CONSOLE) && !defined(MODULE)
>> > static int __init uniphier_early_console_setup(struct earlycon_device *device,
>> > const char *options)
>> > {
>> > --
>> > 2.7.0
>> >
>>
>> I noticed commit 2eaa790989e03900298ad24f77f1086dbbc1aebd
>> revived this link error, but I am not happy with seeing
>> this patch again and again.
>>
>>
>> Can you check this patch?
>> https://patchwork.kernel.org/patch/8289231/
>>
>>
>>
>
> Yes, I think your patch is nicer than mine. Let's see what the others
> think, then I can resend my remaining patches on top of yours.
>
As Peter pointed out, my patch would not work without CONFIG_OF.
I can not suggest any other alternative,
so I am OK with this patch.
Unfortunately, the "tty-linus" branch is getting dirty with
apply, revert, apply again.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists