Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754797AbbKQTgT (ORCPT ); Tue, 17 Nov 2015 14:36:19 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:64137 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754542AbbKQTgQ (ORCPT ); Tue, 17 Nov 2015 14:36:16 -0500 From: Alban Bedel To: linux-mips@linux-mips.org Cc: Ralf Baechle , Thomas Gleixner , Jason Cooper , Marc Zyngier , Alexander Couzens , Joel Porquet , Andrew Bresticker , linux-kernel@vger.kernel.org, Alban Bedel Subject: [PATCH 5/6] MIPS: ath79: Allow using ath79_ddr_wb_flush() from drivers Date: Tue, 17 Nov 2015 20:34:55 +0100 Message-Id: <1447788896-15553-6-git-send-email-albeu@free.fr> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1447788896-15553-1-git-send-email-albeu@free.fr> References: <1447788896-15553-1-git-send-email-albeu@free.fr> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1441 Lines: 42 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 --- 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/