ath9k: Register id table for platform device
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Tue, 12 Apr 2011 07:12:22 +0000 (12:42 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Apr 2011 20:59:51 +0000 (16:59 -0400)
commit6f11c819d5fb24b637f2db605e5d3c270c979627
tree314753175d07d86a232f9da956ea2fa9d83e660a
parentb3ba44c6d1633692b45910ee77064e635e2c3143
ath9k: Register id table for platform device

Currently the device id in the platform driver is hardcoded to an id
which is specific to AR9130/AR9132 SOCs as it supports only wmac (wireless mac)
of these SOCs. But this needs to be dynamic when we want to support different
wmac of SOCs. So add id_table to driver to make it extendable to more SOCs.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Acked-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ahb.c