diff options
author | Jiri Slaby <jslaby@suse.cz> | 2019-01-22 18:12:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-25 12:02:49 +0300 |
commit | 022e468e1395737e26a54e11e956eb3e29106087 (patch) | |
tree | c8a2c6612c93210e6a7f9675c69de4ed74a24ece /drivers/usb/misc/sisusbvga/sisusb_init.c | |
parent | 3af5d01c29c3285241d45739a945465e4a2b9740 (diff) | |
download | linux-022e468e1395737e26a54e11e956eb3e29106087.tar.xz |
usb: sisusb_con, cleanup configs
There are two macros defined:
1) ifdef CONFIG_COMPAT => define SISUSB_NEW_CONFIG_COMPAT
2) ifdef CONFIG_USB_SISUSBVGA_CON => define INCL_SISUSB_CON
Remove the latter and make use only of the former. This removes one
layer of obfuscation.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc/sisusbvga/sisusb_init.c')
-rw-r--r-- | drivers/usb/misc/sisusbvga/sisusb_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/sisusbvga/sisusb_init.c b/drivers/usb/misc/sisusbvga/sisusb_init.c index 6a30e8bd9221..0f7170f5b53f 100644 --- a/drivers/usb/misc/sisusbvga/sisusb_init.c +++ b/drivers/usb/misc/sisusbvga/sisusb_init.c @@ -45,7 +45,7 @@ #include "sisusb.h" -#ifdef INCL_SISUSB_CON +#ifdef CONFIG_USB_SISUSBVGA_CON #include "sisusb_init.h" @@ -956,4 +956,4 @@ int SiSUSBSetVESAMode(struct SiS_Private *SiS_Pr, unsigned short VModeNo) return SiSUSBSetMode(SiS_Pr, ModeNo); } -#endif /* INCL_SISUSB_CON */ +#endif /* CONFIG_USB_SISUSBVGA_CON */ |