[Nouveau] nouveau_pm.c: Build error

Stratos Psomadakis psomas at ece.ntua.gr
Mon Apr 11 06:22:30 PDT 2011


In nouveau_pm.c, in the function nouveau_pm_acpi_event(), there's no
check for CONFIG_POWER_SUPPLY.

If CONFIG_POWER_SUPPLY is set to either n or m, the
power_supply_is_system_supplied() is 'missing' and there's a build error.

One solution is to add an #ifdef CONFIG_POWER_SUPPLY along with the
#ifdef CONFIG_ACPI before the function.

-- 
Stratos Psomadakis
<psomas at ece.ntua.gr>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20110411/2f423cd6/attachment.pgp>


More information about the Nouveau mailing list