aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/wlan_plat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/wlan_plat.h')
-rw-r--r--include/linux/wlan_plat.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/wlan_plat.h b/include/linux/wlan_plat.h
new file mode 100644
index 00000000000..40ec3482d1e
--- /dev/null
+++ b/include/linux/wlan_plat.h
@@ -0,0 +1,27 @@
1/* include/linux/wlan_plat.h
2 *
3 * Copyright (C) 2010 Google, Inc.
4 *
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 */
15#ifndef _LINUX_WLAN_PLAT_H_
16#define _LINUX_WLAN_PLAT_H_
17
18struct wifi_platform_data {
19 int (*set_power)(int val);
20 int (*set_reset)(int val);
21 int (*set_carddetect)(int val);
22 void *(*mem_prealloc)(int section, unsigned long size);
23 int (*get_mac_addr)(unsigned char *buf);
24 void *(*get_country_code)(char *ccode);
25};
26
27#endif