Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1271603
| From | Alban Bedel <albeu@free.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 5/6] MIPS: ath79: Allow using ath79_ddr_wb_flush() from drivers |
| Date | 2015-11-17 20:40 +0100 |
| Message-ID | <qvUgG-Qn-13@gated-at.bofh.it> (permalink) |
| References | <qvUgG-Qn-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Move the declaration of ath79_ddr_wb_flush() to asm/mach-ath79/ath79.h to allow using it from drivers. This is needed to move the CPU IRQ driver to drivers/irqchip. Signed-off-by: Alban Bedel <albeu@free.fr> --- arch/mips/ath79/common.h | 1 - arch/mips/include/asm/mach-ath79/ath79.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/ath79/common.h b/arch/mips/ath79/common.h index ca7cc19..870c6b2 100644 --- a/arch/mips/ath79/common.h +++ b/arch/mips/ath79/common.h @@ -23,7 +23,6 @@ void ath79_clocks_init(void); unsigned long ath79_get_sys_clk_rate(const char *id); void ath79_ddr_ctrl_init(void); -void ath79_ddr_wb_flush(unsigned int reg); void ath79_gpio_init(void); diff --git a/arch/mips/include/asm/mach-ath79/ath79.h b/arch/mips/include/asm/mach-ath79/ath79.h index ce493fc..22a2f56 100644 --- a/arch/mips/include/asm/mach-ath79/ath79.h +++ b/arch/mips/include/asm/mach-ath79/ath79.h @@ -115,6 +115,7 @@ static inline int soc_is_qca955x(void) return soc_is_qca9556() || soc_is_qca9558(); } +void ath79_ddr_wb_flush(unsigned int reg); void ath79_ddr_set_pci_windows(void); extern void __iomem *ath79_pll_base; -- 2.0.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/6] MIPS: ath79: Move the IRQ drivers to drivers/irqchip Alban Bedel <albeu@free.fr> - 2015-11-17 20:40 +0100
[PATCH 5/6] MIPS: ath79: Allow using ath79_ddr_wb_flush() from drivers Alban Bedel <albeu@free.fr> - 2015-11-17 20:40 +0100
[PATCH 4/6] MIPS: ath79: irq: Move the MISC driver to drivers/irqchip Alban Bedel <albeu@free.fr> - 2015-11-17 20:40 +0100
Re: [PATCH 4/6] MIPS: ath79: irq: Move the MISC driver to drivers/irqchip Thomas Gleixner <tglx@linutronix.de> - 2015-11-17 21:10 +0100
Re: [PATCH 4/6] MIPS: ath79: irq: Move the MISC driver to drivers/irqchip Jason Cooper <jason@lakedaemon.net> - 2015-11-17 21:20 +0100
Re: [PATCH 4/6] MIPS: ath79: irq: Move the MISC driver to drivers/irqchip Jason Cooper <jason@lakedaemon.net> - 2015-11-17 21:10 +0100
[PATCH 3/6] MIPS: ath79: irq: Prepare moving the MISC driver to drivers/irqchip Alban Bedel <albeu@free.fr> - 2015-11-17 20:40 +0100
[PATCH 1/6] MIPS: ath79: Fix the size of the MISC INTC registers in ar9132.dtsi Alban Bedel <albeu@free.fr> - 2015-11-17 20:40 +0100
[PATCH 6/6] MIPS: ath79: irq: Move the CPU IRQ driver to drivers/irqchip Alban Bedel <albeu@free.fr> - 2015-11-17 20:40 +0100
[PATCH 2/6] MIPS: ath79: irq: Remove useless #ifdef CONFIG_IRQCHIP Alban Bedel <albeu@free.fr> - 2015-11-17 20:40 +0100
csiph-web