rtl8188eu: Make build more robust against presence of stale include/linux/version.h

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-05-16 15:43:50 -05:00
parent dc7c8c0b5d
commit 7c612116b7
2 changed files with 2 additions and 2 deletions

View file

@ -1413,7 +1413,7 @@ __inline static unsigned char _cancel_timer_ex(_timer *ptimer)
static __inline void thread_enter(char *name)
{
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 8, 0))
#ifdef daemonize
daemonize("%s", name);
#endif
allow_signal(SIGTERM);

View file

@ -301,7 +301,7 @@ static int rtw_proc_cnt = 0;
#define RTW_PROC_NAME DRV_NAME
#if (LINUX_VERSION_CODE > KERNEL_VERSION(3, 8, 0))
#ifndef create_proc_entry
/* dummy routines */
void rtw_proc_remove_one(struct net_device *dev)
{