Re: [PATCH] mic: avoid statically declaring a 'struct device'.

From: Arnd Bergmann
Date: Wed Jul 10 2019 - 11:43:58 EST


On Wed, Jul 10, 2019 at 3:07 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:

> A slightly better way here is to create the platform device from
> a platform_device_info. This avoids the warning and some other problems,
> but is still not ideal because the device creation should really be
> separated from the driver.
>
> Fixes: dd8d8d44df64 ("misc: mic: MIC card driver specific changes to enable SCIF")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Please ignore this version, it is completely broken, I'll send a
replacement after
more build testing.

Arnd