Re: linux-next: build failure after merge of the drivers-x86 tree

From: Andy Shevchenko
Date: Tue Oct 15 2019 - 04:04:42 EST


On Tue, Oct 15, 2019 at 5:00 AM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> After merging the drivers-x86 tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/platform/x86/huawei-wmi.c: In function 'huawei_wmi_exit':
> drivers/platform/x86/huawei-wmi.c:890:41: error: 'struct huawei_wmi' has no member named 'pdev'; did you mean 'idev'?
> 890 | platform_device_unregister(huawei_wmi->pdev);
> | ^~~~
> | idev
>
> Caused by commit
>
> eda34f06b2e0 ("platform/x86: huawei-wmi: No need to keep pointer to platform device")
>
> interacting with commit
>
> 7532afb35012 ("platform/x86: huawei-wmi: Move to platform driver")

Oops, thank you for pointing out, should be fixed.

--
With Best Regards,
Andy Shevchenko