Add flags parameter to get_country_code template
authorDmitry Shmidt <dimitrysh@google.com>
Fri, 22 Aug 2014 21:40:18 +0000 (14:40 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:49 +0000 (13:51 -0800)
Change-Id: Ic3f173db144a301ea104f544fc8ec723241c1d59
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
include/linux/wlan_plat.h

index 40ec3482d1efbc4fccf79ab7a732e3e0358f527b..8ad2dbd0c296783850c6680bba0c197cc42d30a0 100644 (file)
 #ifndef _LINUX_WLAN_PLAT_H_
 #define _LINUX_WLAN_PLAT_H_
 
+#define WLAN_PLAT_NODFS_FLAG   0x01
+
 struct wifi_platform_data {
        int (*set_power)(int val);
        int (*set_reset)(int val);
        int (*set_carddetect)(int val);
        void *(*mem_prealloc)(int section, unsigned long size);
        int (*get_mac_addr)(unsigned char *buf);
-       void *(*get_country_code)(char *ccode);
+       void *(*get_country_code)(char *ccode, u32 flags);
 };
 
 #endif