powerpc/hvc: Driver build breaks with !HVC_CONSOLE
authorKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Fri, 25 Sep 2009 03:31:43 +0000 (03:31 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 Jan 2010 02:26:13 +0000 (13:26 +1100)
commitaa8b83cb0b48e3cac58a3b75ad9c556564c5fe9d
tree58b69796ffc2063d772dee02a578bdee059cb311
parent02ab851324dc7e2fc75787f7fae71187092be7ed
powerpc/hvc: Driver build breaks with !HVC_CONSOLE

Hi Stephen,

next-20090925 randconfig build breaks on hvcs driver on powerpc,
with HVC_CONSOLE=n.

ERROR: ".hvc_put_chars" [drivers/char/hvcs.ko] undefined!
ERROR: ".hvc_get_chars" [drivers/char/hvcs.ko] undefined!

adding the dependency of HVC_CONSOLE helped

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/char/Kconfig