From: Andy Whitcroft <apw@shadowen.org>
To: Paul Mackerras <paulus@samba.org>, Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Anton Blanchard <anton@samba.org>,
linuxppc64-dev@ozlabs.org, Andy Whitcroft <apw@shadowen.org>
Subject: [PATCH 2/2] powerpc powermac adb fix udbg_adb_use_btext warning
Date: Wed, 30 Nov 2005 17:35:01 +0000 [thread overview]
Message-ID: <20051130173501.GA863@shadowen.org> (raw)
In-Reply-To: exportbomb.1133372080@pinky
powerpc: powermac, adb fix udbg_adb_use_btext warning
When compiling without BOOTX_TEXT the following warning is emitted.
Fix up the definition to only be made when required.
CC arch/powerpc/platforms/powermac/udbg_adb.o
.../arch/powerpc/platforms/powermac/udbg_adb.c:41: warning:
`udbg_adb_use_btext' defined but not used
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
---
diff -upN reference/arch/powerpc/platforms/powermac/udbg_adb.c current/arch/powerpc/platforms/powermac/udbg_adb.c
--- reference/arch/powerpc/platforms/powermac/udbg_adb.c
+++ current/arch/powerpc/platforms/powermac/udbg_adb.c
@@ -38,8 +38,6 @@ static enum {
input_adb_cuda,
} input_type = input_adb_none;
-static int udbg_adb_use_btext;
-
int xmon_wants_key, xmon_adb_keycode;
static inline void udbg_adb_poll(void)
@@ -55,6 +53,8 @@ static inline void udbg_adb_poll(void)
}
#ifdef CONFIG_BOOTX_TEXT
+
+static int udbg_adb_use_btext;
static int xmon_adb_shiftstate;
static unsigned char xmon_keytab[128] =
prev parent reply other threads:[~2005-11-30 17:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-30 4:31 2.6.15-rc3-mm1 Andrew Morton
2005-11-30 16:23 ` 2.6.15-rc3-mm1 Christoph Hellwig
2005-11-30 20:27 ` 2.6.15-rc3-mm1 Andrew Morton
2005-11-30 23:18 ` 2.6.15-rc3-mm1 Benjamin Herrenschmidt
2005-12-01 11:31 ` 2.6.15-rc3-mm1 Christoph Hellwig
2005-12-01 21:10 ` 2.6.15-rc3-mm1 Benjamin Herrenschmidt
2005-12-01 21:20 ` 2.6.15-rc3-mm1 Christoph Hellwig
2005-11-30 17:32 ` 2.6.15-rc3-mm1 Carlos Martín
2005-11-30 20:39 ` 2.6.15-rc3-mm1 Andrew Morton
2005-11-30 23:24 ` 2.6.15-rc3-mm1 Carlos Martín
2005-11-30 17:34 ` [PATCH 0/2] 2.6.15rc3mm1 ppc64 compile problems Andy Whitcroft
2005-11-30 17:34 ` [PATCH 1/2] powerpc powermac adb fix dependancy on btext_drawchar Andy Whitcroft
2005-11-30 17:35 ` Andy Whitcroft [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=20051130173501.GA863@shadowen.org \
--to=apw@shadowen.org \
--cc=akpm@osdl.org \
--cc=anton@samba.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc64-dev@ozlabs.org \
--cc=paulus@samba.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.