diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-05-30 17:25:16 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-06-18 12:00:29 +0200 |
commit | 7e8a50df26f4e7003d09f7e8d1e57fbbb7ebb750 (patch) | |
tree | 9106e7defcdd295d13ab5b243af7227263c527ee /include/linux/soc | |
parent | 16acd53b1547d3dbe3eabef5e3356674eb957ae4 (diff) | |
download | linux-7e8a50df26f4e7003d09f7e8d1e57fbbb7ebb750.tar.gz linux-7e8a50df26f4e7003d09f7e8d1e57fbbb7ebb750.tar.bz2 linux-7e8a50df26f4e7003d09f7e8d1e57fbbb7ebb750.zip |
soc: renesas: rcar-sysc: Drop legacy handling
Now the R-Car platform code no longer supports DTBs lacking a SYSC
device node in DT, all legacy handling can be dropped from the R-Car
SYSC driver:
- Make rcar_sysc_ch private to the driver,
- Make rcar_sysc_power_{down,up}() static (they have been replaced by
rcar_sysc_power_{down,up}_cpu()),
- Remove the legacy wrapper rcar_sysc_init(), and the check for double
initialization (only the early_initcall is left).
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'include/linux/soc')
-rw-r--r-- | include/linux/soc/renesas/rcar-sysc.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/soc/renesas/rcar-sysc.h b/include/linux/soc/renesas/rcar-sysc.h index 9020da2111fd..00fae6fd234d 100644 --- a/include/linux/soc/renesas/rcar-sysc.h +++ b/include/linux/soc/renesas/rcar-sysc.h @@ -2,17 +2,6 @@ #ifndef __LINUX_SOC_RENESAS_RCAR_SYSC_H__ #define __LINUX_SOC_RENESAS_RCAR_SYSC_H__ -#include <linux/types.h> - -struct rcar_sysc_ch { - u16 chan_offs; - u8 chan_bit; - u8 isr_bit; -}; - -int rcar_sysc_power_down(const struct rcar_sysc_ch *sysc_ch); -int rcar_sysc_power_up(const struct rcar_sysc_ch *sysc_ch); -void rcar_sysc_init(phys_addr_t base, u32 syscier); int rcar_sysc_power_down_cpu(unsigned int cpu); int rcar_sysc_power_up_cpu(unsigned int cpu); |