public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Subject: Fix implicit declaration in via-pmu.c
Date: Thu, 13 Dec 2007 16:59:11 -0500	[thread overview]
Message-ID: <20071213215911.GA8591@redhat.com> (raw)

drivers/macintosh/via-pmu.c: In function 'register_pmu_pm_ops':
drivers/macintosh/via-pmu.c:2481: error: implicit declaration of function 'pm_set_ops'

Signed-off-by Dave Jones <davej@redhat.com>

--- linux-2.6.23.noarch/drivers/macintosh/via-pmu.c~	2007-11-07 16:54:46.000000000 -0500
+++ linux-2.6.23.noarch/drivers/macintosh/via-pmu.c	2007-11-07 16:55:02.000000000 -0500
@@ -2469,7 +2469,7 @@ static int pmu_sleep_valid(suspend_state
 		&& (pmac_call_feature(PMAC_FTR_SLEEP_STATE, NULL, 0, -1) >= 0);
 }
 
-static struct pm_ops pmu_pm_ops = {
+static struct platform_suspend_ops pmu_pm_ops = {
 	.prepare = powerbook_prepare_sleep,
 	.enter = powerbook_sleep,
 	.finish = powerbook_finish_sleep,
@@ -2478,7 +2478,7 @@ static struct pm_ops pmu_pm_ops = {
 
 static int register_pmu_pm_ops(void)
 {
-	pm_set_ops(&pmu_pm_ops);
+	suspend_set_ops(&pmu_pm_ops);
 
 	return 0;
 }


-- 
http://www.codemonkey.org.uk

             reply	other threads:[~2007-12-13 21:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-13 21:59 Dave Jones [this message]
2007-12-14  3:01 ` Fix implicit declaration in via-pmu.c Paul Mackerras
2007-12-14  3:12   ` Dave Jones

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=20071213215911.GA8591@redhat.com \
    --to=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@samba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox