Re: [PATCH -next] eeepc-wmi: kconfig changes to fix build errors

From: Corentin Chary
Date: Wed Feb 23 2011 - 02:01:22 EST


On Tue, Feb 22, 2011 at 10:47 PM, Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> Fix eeepc-wmi build when CONFIG_HOTPLUG_PCI is not enabled:
>
> eeepc-wmi.c:(.text+0x3bc5e9): undefined reference to `pci_hp_deregister'
> eeepc-wmi.c:(.text+0x3bcca4): undefined reference to `__pci_hp_register'
>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> ---
> Âdrivers/platform/x86/Kconfig | Â Â1 +
> Â1 file changed, 1 insertion(+)
>
> --- linux-next-20110222.orig/drivers/platform/x86/Kconfig
> +++ linux-next-20110222/drivers/platform/x86/Kconfig
> @@ -447,6 +447,7 @@ config EEEPC_WMI
> Â Â Â Âdepends on EXPERIMENTAL
> Â Â Â Âdepends on BACKLIGHT_CLASS_DEVICE
> Â Â Â Âdepends on RFKILL || RFKILL = n
> + Â Â Â depends on HOTPLUG_PCI
> Â Â Â Âselect INPUT_SPARSEKMAP
> Â Â Â Âselect LEDS_CLASS
> Â Â Â Âselect NEW_LEDS
>

Sorry for that...

Acked-by: Corentin Chary <corentin.chary@xxxxxxxxx>


--
Corentin Chary
http://xf.iksaif.net
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/