mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 20:06:41 +07:00
624deb39a1
The passed struct rcar_sysc_ch is never modified, so it can be const. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
16 lines
365 B
C
16 lines
365 B
C
#ifndef PM_RCAR_H
|
|
#define PM_RCAR_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);
|
|
bool rcar_sysc_power_is_off(const struct rcar_sysc_ch *sysc_ch);
|
|
void __iomem *rcar_sysc_init(phys_addr_t base);
|
|
|
|
#endif /* PM_RCAR_H */
|