Re: linux-next: Tree for Dec 21 (acpi without CONFIG_PCI)

From: Randy Dunlap
Date: Fri Dec 21 2018 - 12:26:43 EST


On 12/21/18 9:23 AM, Sinan Kaya wrote:
>
>
> On Friday, December 21, 2018, Randy Dunlap <rdunlap@xxxxxxxxxxxxx <mailto:rdunlap@xxxxxxxxxxxxx>> wrote:
>
> On 12/21/18 12:32 AM, Stephen Rothwell wrote:
> > Hi all,
> >
> > News: there will be no linux-next release until Jan 2. Have a good break.
> >
> > Changes since 20181220:
> >
>
> on i386 or x86_64:
>
> ../drivers/acpi/acpi_lpss.c: In function 'acpi_lpss_find_device':
> ../drivers/acpi/acpi_lpss.c:538:26: error: 'pci_bus_type' undeclared (first use in this function)
> Â return bus_find_device(&pci_bus_type, NULL, &data, match_hid_uid);
> Â Â Â Â Â Â Â Â Â Â Â Â Â ^
>
>
> This needs to be closed by #ifdef CONFIG_PCI
>
> Any other issues?Â
>

I saw a few others but I am still trying to see if they are real or not. ;)

> Â
>
> ../drivers/acpi/acpi_lpss.c:538:26: note: each undeclared identifier is reported only once for each function it appears in
> ../drivers/acpi/acpi_lpss.c:539:1: warning: control reaches end of non-void function [-Wreturn-type]
> Â}
> Â^
>
> when CONFIG_PCI is not set/enabled.
>
>
>
> --
> ~Randy
>


--
~Randy