Re: 2.6.23-rc1-mm1

Cedric Le Goater
2007-07-25T12:55:43Z

Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm1/

from pm-move-definition-of-struct-pm_ops-to-suspendh.patch :

drivers/video/chipsfb.c: In function 'chipsfb_pci_suspend':
drivers/video/chipsfb.c:461: error: 'PM_SUSPEND_MEM' undeclared (first use in this function)
drivers/video/chipsfb.c:461: error: (Each undeclared identifier is reported only once
drivers/video/chipsfb.c:461: error: for each function it appears in.)

Cheers,

C.

Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
---
drivers/video/chipsfb.c | 1 +
1 file changed, 1 insertion(+)

Index: 2.6.23-rc1-mm1/drivers/video/chipsfb.c
===================================================================
--- 2.6.23-rc1-mm1.orig/drivers/video/chipsfb.c
+++ 2.6.23-rc1-mm1/drivers/video/chipsfb.c
@@ -27,6 +27,7 @@
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/console.h>
+#include <linux/suspend.h>
#include <asm/io.h>

#ifdef CONFIG_PMAC_BACKLIGHT