]> git.hungrycats.org Git - linux/commit
[PATCH] ia64: move HCDP under serial console #ifdef
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 14 Jan 2004 03:18:29 +0000 (19:18 -0800)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Wed, 14 Jan 2004 03:18:29 +0000 (19:18 -0800)
commit7ba0358c14c5d0264140c29120f215823216def0
tree8e57a4f8e06e7dcc74c7d1e8cab69cdc24602157
parentcf6921d5f208cf71363572c56c23b3117c291fb5
[PATCH] ia64: move HCDP under serial console #ifdef

Currently you can select HCDP independent of serial console.  This
doesn't seem very useful, and makes the setup_serial_hcdp() reference
unresolved if the serial driver is built as a module.

CONFIG_SERIAL_8250_CONSOLE is only selectable if the serial core is
built in (SERIAL_8250=y), so this patch makes sure we don't try to
call setup_serial_hcdp() unless it is actually built in to the kernel.

(I think we should also make HCDP selection dependent on
SERIAL_8250_CONSOLE=y in Kconfig; I'll send a separate patch
for that since it's not ia64-specific.)
arch/ia64/kernel/setup.c