Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6cd716e authored by Dmitry Shmidt's avatar Dmitry Shmidt Committed by Amit Pundir
Browse files

Add flags parameter to get_country_code template



Change-Id: Ic3f173db144a301ea104f544fc8ec723241c1d59
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent 8ba25fbc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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