From e0b80e41eb0b24e76285b9355725d2f4f66ada50 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 22 Jan 2012 22:38:19 +0000 Subject: ar71xx: add initial support for 3.2 Tested on the following boards: ALFA AP96 TL-MR3220 v1 TL-WR1043ND v1 TL-WR2543ND v1 TL-WR703N v1 TL-WR741ND v1 TL-WR741ND v4 WNDR3700 v1 WZR-HP-G300NH git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29868 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...79-Rename-dev-ar913x-wmac.h-to-dev-wmac.h.patch | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 target/linux/ar71xx/patches-3.2/025-MIPS-ath79-Rename-dev-ar913x-wmac.h-to-dev-wmac.h.patch (limited to 'target/linux/ar71xx/patches-3.2/025-MIPS-ath79-Rename-dev-ar913x-wmac.h-to-dev-wmac.h.patch') diff --git a/target/linux/ar71xx/patches-3.2/025-MIPS-ath79-Rename-dev-ar913x-wmac.h-to-dev-wmac.h.patch b/target/linux/ar71xx/patches-3.2/025-MIPS-ath79-Rename-dev-ar913x-wmac.h-to-dev-wmac.h.patch new file mode 100644 index 000000000..74644d9b9 --- /dev/null +++ b/target/linux/ar71xx/patches-3.2/025-MIPS-ath79-Rename-dev-ar913x-wmac.h-to-dev-wmac.h.patch @@ -0,0 +1,96 @@ +From ece52fe72b70e35f72edf940233d125257a5f4bc Mon Sep 17 00:00:00 2001 +From: Gabor Juhos +Date: Fri, 18 Nov 2011 00:17:54 +0000 +Subject: [PATCH 25/27] MIPS: ath79: Rename dev-ar913x-wmac.h to dev-wmac.h + +The 'ar913x' part was removed from the common variable and function names, +so remove that from the relevant header file name as well. + +Signed-off-by: Gabor Juhos +Cc: Imre Kaloz +Cc: linux-mips@linux-mips.org +Patchwork: https://patchwork.linux-mips.org/patch/3033/ +Signed-off-by: Ralf Baechle +--- + arch/mips/ath79/dev-ar913x-wmac.c | 2 +- + arch/mips/ath79/dev-ar913x-wmac.h | 17 ----------------- + arch/mips/ath79/dev-wmac.h | 17 +++++++++++++++++ + arch/mips/ath79/mach-ap121.c | 2 +- + arch/mips/ath79/mach-ap81.c | 2 +- + 5 files changed, 20 insertions(+), 20 deletions(-) + delete mode 100644 arch/mips/ath79/dev-ar913x-wmac.h + create mode 100644 arch/mips/ath79/dev-wmac.h + +--- a/arch/mips/ath79/dev-ar913x-wmac.c ++++ b/arch/mips/ath79/dev-ar913x-wmac.c +@@ -17,7 +17,7 @@ + + #include + #include +-#include "dev-ar913x-wmac.h" ++#include "dev-wmac.h" + + static struct ath9k_platform_data ath79_wmac_data; + +--- a/arch/mips/ath79/dev-ar913x-wmac.h ++++ /dev/null +@@ -1,17 +0,0 @@ +-/* +- * Atheros AR913X/AR933X SoC built-in WMAC device support +- * +- * Copyright (C) 2008-2011 Gabor Juhos +- * Copyright (C) 2008 Imre Kaloz +- * +- * This program is free software; you can redistribute it and/or modify it +- * under the terms of the GNU General Public License version 2 as published +- * by the Free Software Foundation. +- */ +- +-#ifndef _ATH79_DEV_WMAC_H +-#define _ATH79_DEV_WMAC_H +- +-void ath79_register_wmac(u8 *cal_data); +- +-#endif /* _ATH79_DEV_WMAC_H */ +--- /dev/null ++++ b/arch/mips/ath79/dev-wmac.h +@@ -0,0 +1,17 @@ ++/* ++ * Atheros AR913X/AR933X SoC built-in WMAC device support ++ * ++ * Copyright (C) 2008-2011 Gabor Juhos ++ * Copyright (C) 2008 Imre Kaloz ++ * ++ * This program is free software; you can redistribute it and/or modify it ++ * under the terms of the GNU General Public License version 2 as published ++ * by the Free Software Foundation. ++ */ ++ ++#ifndef _ATH79_DEV_WMAC_H ++#define _ATH79_DEV_WMAC_H ++ ++void ath79_register_wmac(u8 *cal_data); ++ ++#endif /* _ATH79_DEV_WMAC_H */ +--- a/arch/mips/ath79/mach-ap121.c ++++ b/arch/mips/ath79/mach-ap121.c +@@ -13,7 +13,7 @@ + #include "dev-leds-gpio.h" + #include "dev-spi.h" + #include "dev-usb.h" +-#include "dev-ar913x-wmac.h" ++#include "dev-wmac.h" + + #define AP121_GPIO_LED_WLAN 0 + #define AP121_GPIO_LED_USB 1 +--- a/arch/mips/ath79/mach-ap81.c ++++ b/arch/mips/ath79/mach-ap81.c +@@ -10,7 +10,7 @@ + */ + + #include "machtypes.h" +-#include "dev-ar913x-wmac.h" ++#include "dev-wmac.h" + #include "dev-gpio-buttons.h" + #include "dev-leds-gpio.h" + #include "dev-spi.h" -- cgit v1.2.3