[PATCH] powerpc: powermac adb fix dependency on btext_drawchar
authorAndy Whitcroft <apw@shadowen.org>
Wed, 30 Nov 2005 17:34:50 +0000 (17:34 +0000)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:51:15 +0000 (14:51 +1100)
commit52020d2bda9fe447bb50674a2e39e4064b6a10b5
tree2924448f9f57874c6e2a778a971ff5a305b8cd42
parent2bf6a8fa21570f37fd1789610da30f70a05ac5e3
[PATCH] powerpc: powermac adb fix dependency on btext_drawchar

udbg_adb_init() has become dependent on btext_drawchar, even when
BOOTX_TEXT support is not selected.  This leads to the error below.
Make the check dependant on BOOTX_TEXT.

      LD      .tmp_vmlinux1
    arch/powerpc/platforms/built-in.o(.toc1+0xa40): undefined
reference to `btext_drawchar'

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/udbg_adb.c