diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-02-14 17:52:17 +0300 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2019-02-19 17:33:07 +0300 |
commit | ed4d189b7c8abc58f151b9d316ef3e8a22dd5fb1 (patch) | |
tree | a815e85ade4fc1872acdded4bf800b0bddeb0315 /arch/arm/mach-davinci/include | |
parent | 0145beed9d2603870509e0701bc77c86c386fc02 (diff) | |
download | linux-ed4d189b7c8abc58f151b9d316ef3e8a22dd5fb1.tar.xz |
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')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/common.h | 1 |
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 { |