[PATCH] PS3: fix compile error

From: FUJITA Tomonori
Date: Mon Apr 14 2008 - 09:06:01 EST


drivers/ps3/ps3-lpm.c: In function 'ps3_set_pm_bookmark':
drivers/ps3/ps3-lpm.c:192: error: implicit declaration of function 'get_tb'
make[3]: *** [drivers/ps3/ps3-lpm.o] Error 1

Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
Cc: Takashi Yamamoto <TakashiA.Yamamoto@xxxxxxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
---
drivers/ps3/ps3-lpm.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/ps3/ps3-lpm.c b/drivers/ps3/ps3-lpm.c
index 6c9592c..85edf94 100644
--- a/drivers/ps3/ps3-lpm.c
+++ b/drivers/ps3/ps3-lpm.c
@@ -22,6 +22,7 @@
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/uaccess.h>
+#include <asm/time.h>
#include <asm/ps3.h>
#include <asm/lv1call.h>
#include <asm/cell-pmu.h>
--
1.5.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/