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:

committed by
Hans de Goede

parent
0967b53ca2
commit
1d2357b312
@@ -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
|
||||
|
Reference in New Issue
Block a user