| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | Add errno definition to pm.h |
| From: | Songmao Tian <tiansm@lemote.com> |
| Date: | Mon, 30 Jul 2007 23:38:06 +0800 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Icedove 1.5.0.8 (X11/20061116) |
commit 296699de6bdc717189a331ab6bbe90e05c94db06 add
static inline int pm_suspend(suspend_state_t state) { return -ENOSYS; }
which need errno definition
Signed-off-by: Songmao Tian <tiansm@lemote.com>
diff --git a/include/linux/pm.h b/include/linux/pm.h
index e52f6f8..48b71ba 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -25,6 +25,7 @@
#include <linux/list.h>
#include <asm/atomic.h>
+#include <asm/errno.h>
/*
* Power management requests... these are passed to pm_send_all() and
friends.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | A blind patch:), Songmao Tian |
|---|---|
| Next by Date: | [PATCH] DDB5477: Remove driver bits of support, Ralf Baechle |
| Previous by Thread: | A blind patch:), Songmao Tian |
| Next by Thread: | Re: Add errno definition to pm.h, Steven J. Hill |
| Indexes: | [Date] [Thread] [Top] [All Lists] |