From: Olaf Hering <olh@suse.de>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] pmu_register_sleep_notifier needs ADB_PMU
Date: Wed, 16 Nov 2005 17:38:32 +0100 [thread overview]
Message-ID: <20051116163832.GA17120@suse.de> (raw)
In-Reply-To: <20051022213206.GB6097@suse.de>
On Sat, Oct 22, Olaf Hering wrote:
>
> a simple patch for a pegsos user:
> https://bugzilla.novell.com/show_bug.cgi?id=119606
Still not fully fixed:
drivers/video/aty/radeon_pm.c: In function `radeonfb_pm_init':
drivers/video/aty/radeon_pm.c:2769: warning: implicit declaration of function `pmac_call_feature'
drivers/video/aty/radeon_pm.c:2769: error: `PMAC_FTR_DEVICE_CAN_WAKE' undeclared (first use in this function)
drivers/video/aty/radeon_pm.c:2769: error: (Each undeclared identifier is reported only once
drivers/video/aty/radeon_pm.c:2769: error: for each function it appears in.)
drivers/video/aty/radeon_pm.c:2770: warning: implicit declaration of function `pmac_set_early_video_resume'
drivers/video/aty/radeon_pm.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
Index: linux-2.6.15-rc1-olh/drivers/video/aty/radeon_pm.c
===================================================================
--- linux-2.6.15-rc1-olh.orig/drivers/video/aty/radeon_pm.c
+++ linux-2.6.15-rc1-olh/drivers/video/aty/radeon_pm.c
@@ -1321,7 +1321,7 @@ static void radeon_pm_full_reset_sdram(s
mdelay( 15);
}
-#ifdef CONFIG_PPC_OF
+#ifdef CONFIG_PPC_PMAC
static void radeon_pm_reset_pad_ctlr_strength(struct radeonfb_info *rinfo)
{
@@ -2401,7 +2401,7 @@ static void radeon_reinitialize_QW(struc
}
#endif /* 0 */
-#endif /* CONFIG_PPC_OF */
+#endif /* CONFIG_PPC_PMAC */
static void radeon_set_suspend(struct radeonfb_info *rinfo, int suspend)
{
@@ -2700,7 +2700,7 @@ int radeonfb_pci_resume(struct pci_dev *
return rc;
}
-#ifdef CONFIG_PPC_OF
+#ifdef CONFIG_PPC_PMAC
static void radeonfb_early_resume(void *data)
{
struct radeonfb_info *rinfo = data;
@@ -2734,7 +2734,7 @@ void radeonfb_pm_init(struct radeonfb_in
* BIOS does tho. Right now, all this PM stuff is pmac-only for that
* reason. --BenH
*/
-#if defined(CONFIG_PM) && defined(CONFIG_PPC_OF)
+#if defined(CONFIG_PM) && defined(CONFIG_PPC_PMAC)
if (_machine == _MACH_Pmac && rinfo->of_node) {
if (rinfo->is_mobility && rinfo->pm_reg &&
rinfo->family <= CHIP_FAMILY_RV250)
@@ -2778,12 +2778,12 @@ void radeonfb_pm_init(struct radeonfb_in
OUTREG(TV_DAC_CNTL, INREG(TV_DAC_CNTL) | 0x07000000);
#endif
}
-#endif /* defined(CONFIG_PM) && defined(CONFIG_PPC_OF) */
+#endif /* defined(CONFIG_PM) && defined(CONFIG_PPC_PMAC) */
}
void radeonfb_pm_exit(struct radeonfb_info *rinfo)
{
-#if defined(CONFIG_PM) && defined(CONFIG_PPC_OF)
+#if defined(CONFIG_PM) && defined(CONFIG_PPC_PMAC)
if (rinfo->pm_mode != radeon_pm_none)
pmac_set_early_video_resume(NULL, NULL);
#endif
--
short story of a lazy sysadmin:
alias appserv=wotan
prev parent reply other threads:[~2005-11-16 16:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-22 21:32 [PATCH] pmu_register_sleep_notifier needs ADB_PMU Olaf Hering
2005-11-16 16:38 ` Olaf Hering [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=20051116163832.GA17120@suse.de \
--to=olh@suse.de \
--cc=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).