usb: sisusb: let files build only when needed
authorJiri Slaby <jslaby@suse.cz>
Tue, 22 Jan 2019 15:12:01 +0000 (16:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2019 09:02:49 +0000 (10:02 +0100)
commit0277531df26ff75f010882ad820ca83e35935a2f
tree10a9052347755eb0155a4871ce99a893b416bfc7
parent022e468e1395737e26a54e11e956eb3e29106087
usb: sisusb: let files build only when needed

After the previous patch we see, that whole files are ifdeffed depending
on CONFIG options. So do not build the files at all if the CONFIG is not
enabled. (I.e. move the check from .c to Makefile.)

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/sisusbvga/Makefile
drivers/usb/misc/sisusbvga/sisusb_con.c
drivers/usb/misc/sisusbvga/sisusb_init.c