summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/common.h
diff options
context:
space:
mode:
authorBartosz Golaszewski2019-02-14 15:52:17 +0100
committerSekhar Nori2019-02-19 15:33:07 +0100
commited4d189b7c8abc58f151b9d316ef3e8a22dd5fb1 (patch)
treea815e85ade4fc1872acdded4bf800b0bddeb0315 /arch/arm/mach-davinci/include/mach/common.h
parentirqchip: davinci-aintc: move the driver to drivers/irqchip (diff)
downloadkernel-qcow2-linux-ed4d189b7c8abc58f151b9d316ef3e8a22dd5fb1.tar.gz
kernel-qcow2-linux-ed4d189b7c8abc58f151b9d316ef3e8a22dd5fb1.tar.xz
kernel-qcow2-linux-ed4d189b7c8abc58f151b9d316ef3e8a22dd5fb1.zip
ARM: davinci: cp-intc: remove cp_intc.h
There's no need to have a local header for cp-intc. Move the only declaration for a public function to common.h. Move all register offsets into the driver source file and drop all unused defines. Make cp_intc_of_init() static. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: David Lechner <david@lechnology.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/common.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/common.h b/arch/arm/mach-davinci/include/mach/common.h
index 14e0e1c40611..3f3f1169d47e 100644
--- a/arch/arm/mach-davinci/include/mach/common.h
+++ b/arch/arm/mach-davinci/include/mach/common.h
@@ -22,6 +22,7 @@
#define DAVINCI_INTC_START NR_IRQS
#define DAVINCI_INTC_IRQ(_irqnum) (DAVINCI_INTC_START + (_irqnum))
+void cp_intc_init(void);
void davinci_timer_init(struct clk *clk);
struct davinci_timer_instance {