summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wlcore/wlcore.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-04-11 10:54:52 +0300
committerLuciano Coelho <coelho@ti.com>2012-04-12 08:43:57 +0300
commit4ded91ced98c3d35c0d36e9ac5e69589f7aad04a (patch)
tree79381dfe96017c25d4e189a20ab8958fdcdcafe1 /drivers/net/wireless/ti/wlcore/wlcore.h
parent6f7dd16cb125468a5393861c22fbecfb52dd9653 (diff)
downloadlinux-4ded91ced98c3d35c0d36e9ac5e69589f7aad04a.tar.bz2
wlcore/wl12xx: move get_pg_ver to the lower driver
The PG version depends on the actual hardware. This commit moves the code used to read the PG version to the lower driver, by adding the get_pg_ver hardware operation. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/wlcore.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/wlcore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/wlcore.h b/drivers/net/wireless/ti/wlcore/wlcore.h
index 92455e91b79d..f49e03541e47 100644
--- a/drivers/net/wireless/ti/wlcore/wlcore.h
+++ b/drivers/net/wireless/ti/wlcore/wlcore.h
@@ -29,6 +29,7 @@
struct wlcore_ops {
int (*identify_chip)(struct wl1271 *wl);
+ s8 (*get_pg_ver)(struct wl1271 *wl);
};
enum wlcore_partitions {