network: wireless: Add get_mac_addr functionality to platform
authorDmitry Shmidt <dimitrysh@google.com>
Thu, 3 Jun 2010 17:55:33 +0000 (10:55 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:48 +0000 (13:51 -0800)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
include/linux/wlan_plat.h

index 70ee63b44ad6d5f5bcd05a1902d957e7762ba7dc..3b1e2e054fd5280462c2f2aa28ae67db62fa33a7 100644 (file)
@@ -20,6 +20,7 @@ struct wifi_platform_data {
        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);
 };
 
 #endif