summaryrefslogtreecommitdiff
path: root/drivers/misc/bcm-vk/Kconfig
diff options
context:
space:
mode:
authorScott Branden <scott.branden@broadcom.com>2021-02-04 01:38:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-04 02:48:58 +0300
commit3a11b0b5d8d2b3f7d4b44945ef9226a3115bb15f (patch)
tree50ba34326eae9fbebadf5135d6cce7e2d70bf6e1 /drivers/misc/bcm-vk/Kconfig
parent8078efff8d4dda4a84deddcc3172b5820593147a (diff)
downloadlinux-3a11b0b5d8d2b3f7d4b44945ef9226a3115bb15f.tar.xz
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>
Diffstat (limited to 'drivers/misc/bcm-vk/Kconfig')
-rw-r--r--drivers/misc/bcm-vk/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/misc/bcm-vk/Kconfig b/drivers/misc/bcm-vk/Kconfig
index 052f6f28b540..68a972772b99 100644
--- a/drivers/misc/bcm-vk/Kconfig
+++ b/drivers/misc/bcm-vk/Kconfig
@@ -15,3 +15,15 @@ config BCM_VK
accelerators via /dev/bcm-vk.N devices.
If unsure, say N.
+
+config BCM_VK_TTY
+ bool "Enable tty ports on a Broadcom VK Accelerator device"
+ depends on TTY
+ depends on BCM_VK
+ help
+ Select this option to enable tty support to allow console
+ access to Broadcom VK Accelerator cards from host.
+
+ Device node will in the form /dev/bcm-vk.x_ttyVKy where:
+ x is the instance of the VK card
+ y is the tty device number on the VK card.