misc: bcm-vk: only support ttyVK if CONFIG_TTY is set
authorScott Branden <scott.branden@broadcom.com>
Wed, 3 Feb 2021 22:38:26 +0000 (14:38 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2021 23:48:58 +0000 (00:48 +0100)
commit3a11b0b5d8d2b3f7d4b44945ef9226a3115bb15f
tree50ba34326eae9fbebadf5135d6cce7e2d70bf6e1
parent8078efff8d4dda4a84deddcc3172b5820593147a
misc: bcm-vk: only support ttyVK if CONFIG_TTY is set

Correct compile issue if CONFIG_TTY is not set by
only adding ttyVK devices if CONFIG_BCM_VK_TTY is set.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Link: https://lore.kernel.org/r/20210203223826.21674-1-scott.branden@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/bcm-vk/Kconfig
drivers/misc/bcm-vk/Makefile
drivers/misc/bcm-vk/bcm_vk.h
drivers/misc/bcm-vk/bcm_vk_dev.c
drivers/misc/bcm-vk/bcm_vk_tty.c