aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_io.c
diff options
context:
space:
mode:
authorTeemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>2010-02-22 01:38:22 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-03-09 15:02:57 -0500
commit54f7e5037c95f2beff0252bfcf288f711c185799 (patch)
tree2b29eac6bfbbc183649163547929be9852affc2e /drivers/net/wireless/wl12xx/wl1271_io.c
parent2d5e82b8bcda58ec1e2fae5277a81e5fd067e627 (diff)
wl1271: Added functions to enable/disable interrupt handling
Added/moved enable and disable interrupt handling functions. Signed-off-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_io.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_io.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_io.c b/drivers/net/wireless/wl12xx/wl1271_io.c
index 5cd94d5666c2..b825cfa30ecf 100644
--- a/drivers/net/wireless/wl12xx/wl1271_io.c
+++ b/drivers/net/wireless/wl12xx/wl1271_io.c
@@ -31,6 +31,16 @@
31#include "wl1271_spi.h" 31#include "wl1271_spi.h"
32#include "wl1271_io.h" 32#include "wl1271_io.h"
33 33
34void wl1271_disable_interrupts(struct wl1271 *wl)
35{
36 wl1271_spi_disable_interrupts(wl);
37}
38
39void wl1271_enable_interrupts(struct wl1271 *wl)
40{
41 wl1271_spi_enable_interrupts(wl);
42}
43
34static int wl1271_translate_addr(struct wl1271 *wl, int addr) 44static int wl1271_translate_addr(struct wl1271 *wl, int addr)
35{ 45{
36 /* 46 /*