1 From 204fd70abd99099f6c2e2213a2baa1d51c03a039 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Fri, 18 Nov 2011 09:50:50 +0100
4 Subject: [PATCH 03/35] MIPS: ath79: rename pci-ath724x.h
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 The declared function in this header file is used by the
10 ath79 platform code only. Move the header to the platform
13 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
14 Acked-by: René Bolldorf <xsecute@googlemail.com>
16 v4: - add an Acked-by tag from René
17 v3: - move include "pci.h" out of the #ifdef CONFIG_PCI section
20 arch/mips/ath79/mach-ubnt-xm.c | 2 +-
21 arch/mips/ath79/pci.c | 2 +-
22 arch/mips/ath79/pci.h | 21 +++++++++++++++++++++
23 arch/mips/include/asm/mach-ath79/pci-ath724x.h | 21 ---------------------
24 4 files changed, 23 insertions(+), 23 deletions(-)
25 create mode 100644 arch/mips/ath79/pci.h
26 delete mode 100644 arch/mips/include/asm/mach-ath79/pci-ath724x.h
28 --- a/arch/mips/ath79/mach-ubnt-xm.c
29 +++ b/arch/mips/ath79/mach-ubnt-xm.c
33 #include <linux/ath9k_platform.h>
34 -#include <asm/mach-ath79/pci-ath724x.h>
35 #endif /* CONFIG_PCI */
37 #include "machtypes.h"
38 #include "dev-gpio-buttons.h"
39 #include "dev-leds-gpio.h"
43 #define UBNT_XM_GPIO_LED_L1 0
44 #define UBNT_XM_GPIO_LED_L2 1
45 --- a/arch/mips/ath79/pci.c
46 +++ b/arch/mips/ath79/pci.c
50 #include <linux/pci.h>
51 -#include <asm/mach-ath79/pci-ath724x.h>
54 static struct ath724x_pci_data *pci_data;
55 static int pci_data_size;
57 +++ b/arch/mips/ath79/pci.h
60 + * Atheros 724x PCI support
62 + * Copyright (C) 2011 René Bolldorf <xsecute@googlemail.com>
64 + * This program is free software; you can redistribute it and/or modify it
65 + * under the terms of the GNU General Public License version 2 as published
66 + * by the Free Software Foundation.
69 +#ifndef __ASM_MACH_ATH79_PCI_ATH724X_H
70 +#define __ASM_MACH_ATH79_PCI_ATH724X_H
72 +struct ath724x_pci_data {
77 +void ath724x_pci_add_data(struct ath724x_pci_data *data, int size);
79 +#endif /* __ASM_MACH_ATH79_PCI_ATH724X_H */
80 --- a/arch/mips/include/asm/mach-ath79/pci-ath724x.h
84 - * Atheros 724x PCI support
86 - * Copyright (C) 2011 René Bolldorf <xsecute@googlemail.com>
88 - * This program is free software; you can redistribute it and/or modify it
89 - * under the terms of the GNU General Public License version 2 as published
90 - * by the Free Software Foundation.
93 -#ifndef __ASM_MACH_ATH79_PCI_ATH724X_H
94 -#define __ASM_MACH_ATH79_PCI_ATH724X_H
96 -struct ath724x_pci_data {
101 -void ath724x_pci_add_data(struct ath724x_pci_data *data, int size);
103 -#endif /* __ASM_MACH_ATH79_PCI_ATH724X_H */