linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nouveau_pm.c: Build error
@ 2011-04-11 13:22 Stratos Psomadakis
  0 siblings, 0 replies; only message in thread
From: Stratos Psomadakis @ 2011-04-11 13:22 UTC (permalink / raw)
  To: nouveau; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

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@ece.ntua.gr>



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-11 13:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-11 13:22 nouveau_pm.c: Build error Stratos Psomadakis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).