]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: handle firmware names more dynamically
authorKalle Valo <kvalo@qca.qualcomm.com>
Fri, 16 Dec 2011 18:53:31 +0000 (20:53 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 23 Dec 2011 12:53:21 +0000 (14:53 +0200)
commit0fd0e728acf0e4be531247d1f827b7cd6f118d3d
tree33d2287d8e87cf768dfca68e27a2546f76900551
parent76aa4ba188561307b01da814c182f863771a24f9
ath6kl: handle firmware names more dynamically

Currently ath6kl has just hardcoded paths to each firmware file. Change
this more dynamic by separating the the directory and file name from each
other. That way it's easier to dynamically create full paths to firmware and
code looks better. And now it's possible to remove a function needed by
devicetree code.

While at it add a structure inside struct ath6kl_hw to contain all
firmware names. I deliberately omitted board file support as
those will be handled later.

This is needed for firmware API 3.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/init.c
drivers/net/wireless/ath/ath6kl/sdio.c
drivers/net/wireless/ath/ath6kl/usb.c