summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/io.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-01-12 14:45:34 +0200
committerLuciano Coelho <coelho@ti.com>2012-02-15 08:38:28 +0200
commit0becb14ab42c2435402437a9dbc279599f6af8fb (patch)
treeeba596f3db68d25963db120c508326baaeef5d5e /drivers/net/wireless/wl12xx/io.h
parentf6fbeccd3e513c23de9cd8562f2b2e78d4d17912 (diff)
downloadop-kernel-dev-0becb14ab42c2435402437a9dbc279599f6af8fb.zip
op-kernel-dev-0becb14ab42c2435402437a9dbc279599f6af8fb.tar.gz
wl12xx: move partition table definition to io.c
Up till now we only needed to access the partition table in boot.c. But to add support for reading the MAC address from the FUSE in testmode, we will have to change the partition in testmode.c. Thus, we move the partition table to io.c and export it via io.h. It makes more sense to have it in the io part anyway. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/io.h')
-rw-r--r--drivers/net/wireless/wl12xx/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/io.h b/drivers/net/wireless/wl12xx/io.h
index d398cbc..4fb3dab 100644
--- a/drivers/net/wireless/wl12xx/io.h
+++ b/drivers/net/wireless/wl12xx/io.h
@@ -43,6 +43,8 @@
#define HW_ACCESS_PRAM_MAX_RANGE 0x3c000
+extern struct wl1271_partition_set wl12xx_part_table[PART_TABLE_LEN];
+
struct wl1271;
void wl1271_disable_interrupts(struct wl1271 *wl);
OpenPOWER on IntegriCloud