diff options
author | Scott Branden <scott.branden@broadcom.com> | 2021-02-03 23:38:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-04 00:48:58 +0100 |
commit | 3a11b0b5d8d2b3f7d4b44945ef9226a3115bb15f (patch) | |
tree | 50ba34326eae9fbebadf5135d6cce7e2d70bf6e1 /drivers/misc/bcm-vk/Makefile | |
parent | misc: bcm-vk: Fix a couple error codes in probe() (diff) | |
download | linux-3a11b0b5d8d2b3f7d4b44945ef9226a3115bb15f.tar.xz linux-3a11b0b5d8d2b3f7d4b44945ef9226a3115bb15f.zip |
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/Makefile | 4 |
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 |