]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit354a7a02c6fcb38155e559089b23137f99de3ed1
tree314753175d07d86a232f9da956ea2fa9d83e660a
parentaff9ac983769dea9b877cdc08ba3b5061d0ae118
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