All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Peres <martin.peres-GANU6spQydw@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: nouveau_pm.c: Build error
Date: Mon, 11 Apr 2011 19:40:47 +0200	[thread overview]
Message-ID: <4DA33D1F.10102@free.fr> (raw)
In-Reply-To: <4DA30096.1070404-CiBbMcFdDxlMo1R+fwTmgw@public.gmane.org>

Le 11/04/2011 15:22, Stratos Psomadakis a écrit :
> 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.
Thanks, I'll send a patch for that tonight.

Can I add a Reported-by: line with your name and email address?

      parent reply	other threads:[~2011-04-11 17:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DA33D1F.10102@free.fr \
    --to=martin.peres-ganu6spqydw@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.