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

Commit 06e9c644 authored by Dmitry Shmidt's avatar Dmitry Shmidt Committed by Ruchi Kandoi
Browse files

Add flags parameter to get_country_code template



Change-Id: Ic3f173db144a301ea104f544fc8ec723241c1d59
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent 174e5651
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -15,13 +15,15 @@
#ifndef _LINUX_WLAN_PLAT_H_
#ifndef _LINUX_WLAN_PLAT_H_
#define _LINUX_WLAN_PLAT_H_
#define _LINUX_WLAN_PLAT_H_


#define WLAN_PLAT_NODFS_FLAG	0x01

struct wifi_platform_data {
struct wifi_platform_data {
	int (*set_power)(int val);
	int (*set_power)(int val);
	int (*set_reset)(int val);
	int (*set_reset)(int val);
	int (*set_carddetect)(int val);
	int (*set_carddetect)(int val);
	void *(*mem_prealloc)(int section, unsigned long size);
	void *(*mem_prealloc)(int section, unsigned long size);
	int (*get_mac_addr)(unsigned char *buf);
	int (*get_mac_addr)(unsigned char *buf);
	void *(*get_country_code)(char *ccode);
	void *(*get_country_code)(char *ccode, u32 flags);
};
};


#endif
#endif