* [PATCH] ath9k: rename ath9k_platform.h to ath_platform.h
@ 2011-11-15 11:23 Sangwook Lee
2011-11-15 16:09 ` Luis R. Rodriguez
2011-11-15 16:37 ` Kalle Valo
0 siblings, 2 replies; 5+ messages in thread
From: Sangwook Lee @ 2011-11-15 11:23 UTC (permalink / raw)
To: linux-kernel, linux-mips, linux-wireless, ath9k-devel
Cc: ralf, juhosg, rodrigue, linville, rmanohar, patches, Sangwook Lee
The patch series proposes to rename ath9k_platform.h to "ath_platform.h
This header file handles platform data used only for ath9k,
but it can used by ath6k as well. We can take "wl12xx.h" as
as a example. Please let us change this file name so that
other Atheors WLANs use this file for their own platform data
Signed-off-by: Sangwook Lee <sangwook.lee@linaro.org>
---
arch/mips/ath79/dev-ar913x-wmac.c | 2 +-
drivers/net/wireless/ath/ath9k/ahb.c | 2 +-
drivers/net/wireless/ath/ath9k/init.c | 2 +-
drivers/net/wireless/ath/ath9k/pci.c | 2 +-
include/linux/{ath9k_platform.h => ath_platform.h} | 0
5 files changed, 4 insertions(+), 4 deletions(-)
rename include/linux/{ath9k_platform.h => ath_platform.h} (100%)
diff --git a/arch/mips/ath79/dev-ar913x-wmac.c b/arch/mips/ath79/dev-ar913x-wmac.c
index 48f425a..bc8869c 100644
--- a/arch/mips/ath79/dev-ar913x-wmac.c
+++ b/arch/mips/ath79/dev-ar913x-wmac.c
@@ -13,7 +13,7 @@
#include <linux/delay.h>
#include <linux/irq.h>
#include <linux/platform_device.h>
-#include <linux/ath9k_platform.h>
+#include <linux/ath_platform.h>
#include <asm/mach-ath79/ath79.h>
#include <asm/mach-ath79/ar71xx_regs.h>
diff --git a/drivers/net/wireless/ath/ath9k/ahb.c b/drivers/net/wireless/ath/ath9k/ahb.c
index 85a54cd..d84bee6 100644
--- a/drivers/net/wireless/ath/ath9k/ahb.c
+++ b/drivers/net/wireless/ath/ath9k/ahb.c
@@ -18,7 +18,7 @@
#include <linux/nl80211.h>
#include <linux/platform_device.h>
-#include <linux/ath9k_platform.h>
+#include <linux/ath_platform.h>
#include "ath9k.h"
static const struct platform_device_id ath9k_platform_id_table[] = {
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index af1b325..0c82aea 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -16,7 +16,7 @@
#include <linux/dma-mapping.h>
#include <linux/slab.h>
-#include <linux/ath9k_platform.h>
+#include <linux/ath_platform.h>
#include "ath9k.h"
diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c
index edb0b4b..2f031b8 100644
--- a/drivers/net/wireless/ath/ath9k/pci.c
+++ b/drivers/net/wireless/ath/ath9k/pci.c
@@ -17,7 +17,7 @@
#include <linux/nl80211.h>
#include <linux/pci.h>
#include <linux/pci-aspm.h>
-#include <linux/ath9k_platform.h>
+#include <linux/ath_platform.h>
#include "ath9k.h"
static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = {
diff --git a/include/linux/ath9k_platform.h b/include/linux/ath_platform.h
similarity index 100%
rename from include/linux/ath9k_platform.h
rename to include/linux/ath_platform.h
--
1.7.4.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] ath9k: rename ath9k_platform.h to ath_platform.h
2011-11-15 11:23 [PATCH] ath9k: rename ath9k_platform.h to ath_platform.h Sangwook Lee
@ 2011-11-15 16:09 ` Luis R. Rodriguez
2011-11-16 21:11 ` Gabor Juhos
2011-11-15 16:37 ` Kalle Valo
1 sibling, 1 reply; 5+ messages in thread
From: Luis R. Rodriguez @ 2011-11-15 16:09 UTC (permalink / raw)
To: Sangwook Lee, Gabor Juhos, Imre Kaloz
Cc: linux-kernel, linux-mips, linux-wireless, ath9k-devel, ralf,
linville, rmanohar, patches
On Tue, Nov 15, 2011 at 3:23 AM, Sangwook Lee <sangwook.lee@linaro.org> wrote:
> The patch series proposes to rename ath9k_platform.h to "ath_platform.h
> This header file handles platform data used only for ath9k,
> but it can used by ath6k as well.
Adding the actual OpenWrt stakeholders. Is there any public hardware
platform that uses this yet?
Luis
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ath9k: rename ath9k_platform.h to ath_platform.h
2011-11-15 16:09 ` Luis R. Rodriguez
@ 2011-11-16 21:11 ` Gabor Juhos
0 siblings, 0 replies; 5+ messages in thread
From: Gabor Juhos @ 2011-11-16 21:11 UTC (permalink / raw)
To: Luis R. Rodriguez
Cc: Sangwook Lee, Imre Kaloz, linux-kernel, linux-mips,
linux-wireless, ath9k-devel, ralf, linville, rmanohar, patches
2011.11.15. 17:09 keltezéssel, Luis R. Rodriguez írta:
> On Tue, Nov 15, 2011 at 3:23 AM, Sangwook Lee <sangwook.lee@linaro.org> wrote:
>> The patch series proposes to rename ath9k_platform.h to "ath_platform.h
>> This header file handles platform data used only for ath9k,
>> but it can used by ath6k as well.
>
> Adding the actual OpenWrt stakeholders. Is there any public hardware
> platform that uses this yet?
It is used by the ath79 platform code in the mainline kernel, although only the
AP81 reference board uses that for now. However the linux-mips tree also has
code for the AP121 reference board, and that will use it as well.
Additionaly, we are using that in OpenWrt for several consumer boards which are
based on the AR71xx/AR724x/AR913x SoCs.
-Gabor
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ath9k: rename ath9k_platform.h to ath_platform.h
2011-11-15 11:23 [PATCH] ath9k: rename ath9k_platform.h to ath_platform.h Sangwook Lee
2011-11-15 16:09 ` Luis R. Rodriguez
@ 2011-11-15 16:37 ` Kalle Valo
[not found] ` <CADPsn1YDOu9Xyu1yDfs5Z0LjGzBL-Rx6Fk35AT8n-8oOPhPzHA@mail.gmail.com>
1 sibling, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2011-11-15 16:37 UTC (permalink / raw)
To: Sangwook Lee
Cc: linux-kernel, linux-mips, linux-wireless, ath9k-devel, ralf,
juhosg, rodrigue, linville, rmanohar, patches
Hi Sangwook,
On 11/15/2011 01:23 PM, Sangwook Lee wrote:
> The patch series proposes to rename ath9k_platform.h to "ath_platform.h
> This header file handles platform data used only for ath9k,
> but it can used by ath6k as well. We can take "wl12xx.h" as
> as a example. Please let us change this file name so that
> other Atheors WLANs use this file for their own platform data
ath9k and ath6kl are very different devices, I'm not sure if sharing a
platfrom struct between the two is really a good idea. Most likely there
is very little the two drivers can share. What are your plans here?
I myself was thinking that we would have include/linux/ath6kl.h
dedicated just for ath6kl. That would makes things simpler.
Kalle
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-11-17 19:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-15 11:23 [PATCH] ath9k: rename ath9k_platform.h to ath_platform.h Sangwook Lee
2011-11-15 16:09 ` Luis R. Rodriguez
2011-11-16 21:11 ` Gabor Juhos
2011-11-15 16:37 ` Kalle Valo
[not found] ` <CADPsn1YDOu9Xyu1yDfs5Z0LjGzBL-Rx6Fk35AT8n-8oOPhPzHA@mail.gmail.com>
2011-11-17 19:06 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).