mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
[PATCH] safe_serial: use preprocessor directive for error
Use valid #preprocessor instruction to generate an error. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> drivers/usb/serial/safe_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
parent
ddcad752f2
commit
521daed8db
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ MODULE_DESCRIPTION (DRIVER_DESC);
|
|||
MODULE_LICENSE("GPL");
|
||||
|
||||
#if defined(CONFIG_USBD_SAFE_SERIAL_VENDOR) && !defined(CONFIG_USBD_SAFE_SERIAL_PRODUCT)
|
||||
#abort "SAFE_SERIAL_VENDOR defined without SAFE_SERIAL_PRODUCT"
|
||||
#error "SAFE_SERIAL_VENDOR defined without SAFE_SERIAL_PRODUCT"
|
||||
#endif
|
||||
|
||||
#if ! defined(CONFIG_USBD_SAFE_SERIAL_VENDOR)
|
||||
|
|
Loading…
Reference in a new issue