wlcore/wl12xx: move get_pg_ver to the lower driver
authorLuciano Coelho <coelho@ti.com>
Wed, 11 Apr 2012 07:54:52 +0000 (10:54 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 12 Apr 2012 05:43:57 +0000 (08:43 +0300)
commit4ded91ced98c3d35c0d36e9ac5e69589f7aad04a
tree79381dfe96017c25d4e189a20ab8958fdcdcafe1
parent6f7dd16cb125468a5393861c22fbecfb52dd9653
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>
drivers/net/wireless/ti/wl12xx/main.c
drivers/net/wireless/ti/wlcore/io.c
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/wlcore.h