Blame view
include/linux/wl12xx.h
1.39 KB
2f01a1f58 wl12xx: add driver |
1 2 3 4 5 |
/* * This file is part of wl12xx * * Copyright (C) 2009 Nokia Corporation * |
4c5f7d7a1 wl12xx: change co... |
6 |
* Contact: Luciano Coelho <luciano.coelho@nokia.com> |
2f01a1f58 wl12xx: add driver |
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA * */ |
c1f9a0956 wl12xx: make wl12... |
23 24 |
#ifndef _LINUX_WL12XX_H #define _LINUX_WL12XX_H |
2f01a1f58 wl12xx: add driver |
25 |
|
6cc9efed7 wlcore: move wl12... |
26 |
#include <linux/err.h> |
946651cba wl1251: split wl2... |
27 |
struct wl1251_platform_data { |
1d207cd30 wl1251: move powe... |
28 |
int power_gpio; |
a02a29568 wl1251: add suppo... |
29 30 |
/* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */ int irq; |
c95cf3d09 wl1251: add NVS i... |
31 |
bool use_eeprom; |
946651cba wl1251: split wl2... |
32 |
}; |
6cc9efed7 wlcore: move wl12... |
33 |
#ifdef CONFIG_WILINK_PLATFORM_DATA |
65836112f wl12xx: fix non-w... |
34 |
|
946651cba wl1251: split wl2... |
35 36 37 |
int wl1251_set_platform_data(const struct wl1251_platform_data *data); struct wl1251_platform_data *wl1251_get_platform_data(void); |
65836112f wl12xx: fix non-w... |
38 39 40 |
#else static inline |
946651cba wl1251: split wl2... |
41 42 43 44 45 46 47 48 49 50 |
int wl1251_set_platform_data(const struct wl1251_platform_data *data) { return -ENOSYS; } static inline struct wl1251_platform_data *wl1251_get_platform_data(void) { return ERR_PTR(-ENODATA); } |
6cc9efed7 wlcore: move wl12... |
51 |
#endif |
61ee7007a wl12xx: add platf... |
52 |
|
2f01a1f58 wl12xx: add driver |
53 |
#endif |