mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
staging: dgap: Remove version check in dgap_kcompat.h
Code should be for the kernel version it is merged in. Version check is not necessary. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
63c7cc2aea
commit
3b33bd911d
@ -28,11 +28,6 @@
|
||||
#ifndef __DGAP_KCOMPAT_H
|
||||
#define __DGAP_KCOMPAT_H
|
||||
|
||||
# ifndef KERNEL_VERSION
|
||||
# define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
|
||||
# endif
|
||||
|
||||
|
||||
#if !defined(TTY_FLIPBUF_SIZE)
|
||||
# define TTY_FLIPBUF_SIZE 512
|
||||
#endif
|
||||
@ -66,28 +61,4 @@
|
||||
module_param(VAR, long, PERM); \
|
||||
MODULE_PARM_DESC(VAR, DESC);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
|
||||
|
||||
|
||||
|
||||
|
||||
/* NOTHING YET */
|
||||
|
||||
|
||||
|
||||
|
||||
# else
|
||||
|
||||
|
||||
|
||||
# error "this driver does not support anything below the 2.6.27 kernel series."
|
||||
|
||||
|
||||
|
||||
# endif
|
||||
|
||||
#endif /* ! __DGAP_KCOMPAT_H */
|
||||
|
Loading…
Reference in New Issue
Block a user