| To: | ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH] [MIPS] DB1200: fix compile fail when CONFIG_FB_AU1200 is not selected |
| From: | Kevin Hickey <khickey@rmicorp.com> |
| Date: | Fri, 1 Aug 2008 08:19:59 -0500 |
| Cc: | linux-mips@linux-mips.org, Kevin Hickey <khickey@rmicorp.com> |
| In-reply-to: | <> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <> |
| Sender: | linux-mips-bounce@linux-mips.org |
There is a temporary variable declared in board_setup that is only used when
CONFIG_FB_AU1200 is selected. It needs to be ifdef protected to prevent
compile failures.
Signed-off-by: Kevin Hickey <khickey@rmicorp.com>
---
arch/mips/au1000/pb1200/board_setup.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/mips/au1000/pb1200/board_setup.c
b/arch/mips/au1000/pb1200/board_setup.c
index 6cb2115..fa03f44 100644
--- a/arch/mips/au1000/pb1200/board_setup.c
+++ b/arch/mips/au1000/pb1200/board_setup.c
@@ -41,7 +41,9 @@ void board_reset(void)
void __init board_setup(void)
{
+#ifdef CONFIG_FB_AU1200
char *argptr = NULL;
+#endif
#if 0
{
--
1.5.4.3
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Debian etch on cobalt, Glyn Astill |
|---|---|
| Next by Date: | Re: [PATCH v2] au1xmmc: raise segment size limit., Pierre Ossman |
| Previous by Thread: | Re: Debian etch on cobalt, Glyn Astill |
| Next by Thread: | Re: [PATCH v2] au1xmmc: raise segment size limit., Pierre Ossman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |