diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-02-14 17:52:00 +0300 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2019-02-19 17:10:38 +0300 |
commit | fb746842f60350f4654b265364c022219614239c (patch) | |
tree | 10f7ec3a170fd645a49844bc5d503bde3cc7cd48 /arch/arm/mach-davinci/cp_intc.c | |
parent | e3a8c7631d45c621a78f0cb186ac7a09d9642858 (diff) | |
download | linux-fb746842f60350f4654b265364c022219614239c.tar.xz |
ARM: davinci: pull davinci_intc_base into the respective intc drivers
davinci_intc_base is defined globally in common.c. Define separate
local variables for the aintc and cp-intc drivers and remove the
global one.
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/cp_intc.c')
-rw-r--r-- | arch/arm/mach-davinci/cp_intc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/cp_intc.c b/arch/arm/mach-davinci/cp_intc.c index 19874f5ef542..4e293cde20fb 100644 --- a/arch/arm/mach-davinci/cp_intc.c +++ b/arch/arm/mach-davinci/cp_intc.c @@ -26,6 +26,8 @@ #define DAVINCI_CP_INTC_PRI_INDX_MASK GENMASK(9, 0) #define DAVINCI_CP_INTC_GPIR_NONE BIT(31) +static void __iomem *davinci_intc_base; + static inline unsigned int cp_intc_read(unsigned offset) { return __raw_readl(davinci_intc_base + offset); |