Skip to content

Commit

Permalink
powerpc/hvc: Driver build breaks with !HVC_CONSOLE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kamalesh Babulal authored and Benjamin Herrenschmidt committed Jan 15, 2010
1 parent 02ab851 commit aa8b83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ config VIRTIO_CONSOLE

config HVCS
tristate "IBM Hypervisor Virtual Console Server support"
depends on PPC_PSERIES
depends on PPC_PSERIES && HVC_CONSOLE
help
Partitionable IBM Power5 ppc64 machines allow hosting of
firmware virtual consoles from one Linux partition by
Expand Down

0 comments on commit aa8b83c

Please sign in to comment.