]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] powerpc: powermac adb fix udbg_adb_use_btext warning
authorAndy Whitcroft <apw@shadowen.org>
Wed, 30 Nov 2005 17:35:01 +0000 (17:35 +0000)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:51:19 +0000 (14:51 +1100)
commit54b9a9aedc990dd2aefc45ab16d84f245cb7d8d0
tree30b78a921ab6b5e28e2e99b4a4427d76813ccce1
parent52020d2bda9fe447bb50674a2e39e4064b6a10b5
[PATCH] 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>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/udbg_adb.c