Fix declaration of a bunch of inline functions

Properly mark these static inline to avoid symbol collisions when
linking.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Jean-Francois Moine
2016-03-18 12:05:51 +01:00
committed by Hans de Goede
parent 0967b53ca2
commit 1d2357b312
3 changed files with 6 additions and 6 deletions

View File

@@ -96,8 +96,8 @@ int wifi_set_power(int on, unsigned long msec);
int wifi_get_mac_addr(unsigned char *buf);
void *wifi_get_country_code(char *ccode);
#else
static int rtw_android_wifictrl_func_add(void) { return 0; }
static void rtw_android_wifictrl_func_del(void) {}
inline static int rtw_android_wifictrl_func_add(void) { return 0; }
inline static void rtw_android_wifictrl_func_del(void) {}
#endif /* defined(RTW_ENABLE_WIFI_CONTROL_FUNC) */
#ifdef CONFIG_GPIO_WAKEUP