From 9309154d5c31609184a089ed778f3063fd3f02f7 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Fri, 29 Mar 2019 01:15:13 +0100 Subject: [PATCH] fix for missing signal --- hal/phydm/phydm_hwconfig.c | 1 - include/osdep_service.h | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hal/phydm/phydm_hwconfig.c b/hal/phydm/phydm_hwconfig.c index caead8e..32e91e3 100644 --- a/hal/phydm/phydm_hwconfig.c +++ b/hal/phydm/phydm_hwconfig.c @@ -21,7 +21,6 @@ #include "phydm_precomp.h" #define READ_AND_CONFIG_MP(ic, txt) (odm_read_and_config_mp_##ic##txt(p_dm)) -#define READ_AND_CONFIG_TC(ic, txt) (odm_read_and_config_tc_##ic##txt(p_dm)) #define READ_AND_CONFIG READ_AND_CONFIG_MP diff --git a/include/osdep_service.h b/include/osdep_service.h index f20ccf9..bd63db8 100644 --- a/include/osdep_service.h +++ b/include/osdep_service.h @@ -15,6 +15,10 @@ #ifndef __OSDEP_SERVICE_H_ #define __OSDEP_SERVICE_H_ +#include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) +#include +#endif #define _FAIL 0 #define _SUCCESS 1