Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it

From: David Miller
Date: Tue Aug 29 2017 - 12:38:37 EST


From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Tue, 29 Aug 2017 12:59:00 +0200

> Hi Greg,
>
> On Sun, Aug 27, 2017 at 5:03 PM, Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>> The IRDA code has long been obsolete and broken. So, to keep people
>> from trying to use it, and to prevent people from having to maintain it,
>> let's move it to drivers/staging/ so that we can delete it entirely from
>> the kernel in a few releases.
>
> (diving into an early boot crash)
>
> Have you tried running this? ;-)
>
> irda_init() and net_dev_init() are both subsys_initcall()s.
> But the former now runs before the latter, leading to:

We must find a way to make the ordering proper again when both are
built-in.