All of lore.kernel.org
 help / color / mirror / Atom feed
* nouveau_pm.c: Build error
@ 2011-04-11 13:22 Stratos Psomadakis
       [not found] ` <4DA30096.1070404-CiBbMcFdDxlMo1R+fwTmgw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

end of thread, other threads:[~2011-04-11 17:40 UTC | newest]

Thread overview: 2+ messages (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
     [not found] ` <4DA30096.1070404-CiBbMcFdDxlMo1R+fwTmgw@public.gmane.org>
2011-04-11 17:40   ` Martin Peres

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.