[PATCH] USB: remove LINUX_VERSION_CODE macro usage
This patch removes unnecessary LINUX_VERSION_CODE macro usage from drivers/usb/. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e266a12492
commit
35cce732d9
@ -37,24 +37,16 @@
|
||||
#ifndef _SISUSB_H_
|
||||
#define _SISUSB_H_
|
||||
|
||||
#include <linux/version.h>
|
||||
#ifdef CONFIG_COMPAT
|
||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,10)
|
||||
#include <linux/ioctl32.h>
|
||||
#define SISUSB_OLD_CONFIG_COMPAT
|
||||
#else
|
||||
#define SISUSB_NEW_CONFIG_COMPAT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* For older kernels, support for text consoles is by default
|
||||
* off. To ensable text console support, change the following:
|
||||
*/
|
||||
#if 0
|
||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,13)
|
||||
#define CONFIG_USB_SISUSBVGA_CON
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Version Information */
|
||||
|
||||
|
Reference in New Issue
Block a user