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>
This commit is contained in:
Bartosz Golaszewski
2019-02-14 15:52:17 +01:00
committed by Sekhar Nori
parent 0145beed9d
commit ed4d189b7c
7 changed files with 19 additions and 63 deletions

View File

@@ -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 {