summaryrefslogtreecommitdiff
path: root/drivers/misc/bcm-vk/Makefile
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/Makefile
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/Makefile')
-rw-r--r--drivers/misc/bcm-vk/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/bcm-vk/Makefile b/drivers/misc/bcm-vk/Makefile
index e4a1486f7209..1df2ebe851ca 100644
--- a/drivers/misc/bcm-vk/Makefile
+++ b/drivers/misc/bcm-vk/Makefile
@@ -7,6 +7,6 @@ obj-$(CONFIG_BCM_VK) += bcm_vk.o
bcm_vk-objs := \
bcm_vk_dev.o \
bcm_vk_msg.o \
- bcm_vk_sg.o \
- bcm_vk_tty.o
+ bcm_vk_sg.o
+bcm_vk-$(CONFIG_BCM_VK_TTY) += bcm_vk_tty.o