summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2014-08-22 14:40:18 -0700
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:51:49 -0800
commit6a26c26e75853a610d07cbe9e75deebb5a472791 (patch)
tree019c46a9231f3c334ba938a3013fefa56a69c50d /include/linux
parent83e28b7f214760605506687014c3e309b8601cbf (diff)
Add flags parameter to get_country_code template
Change-Id: Ic3f173db144a301ea104f544fc8ec723241c1d59 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/wlan_plat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/wlan_plat.h b/include/linux/wlan_plat.h
index 40ec3482d1ef..8ad2dbd0c296 100644
--- a/include/linux/wlan_plat.h
+++ b/include/linux/wlan_plat.h
@@ -15,13 +15,15 @@
#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