mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 21:52:04 +00:00
585c09df37
Change location of pm-rcar.h so it can be used as #include "pm-rcar.h" instead of the old style #include <mach/pm-rcar.h>. Also clean up the r8a7779 case to move some unused header file cruft into a C file. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
16 lines
377 B
C
16 lines
377 B
C
#ifndef PM_RCAR_H
|
|
#define PM_RCAR_H
|
|
|
|
struct rcar_sysc_ch {
|
|
unsigned long chan_offs;
|
|
unsigned int chan_bit;
|
|
unsigned int isr_bit;
|
|
};
|
|
|
|
int rcar_sysc_power_down(struct rcar_sysc_ch *sysc_ch);
|
|
int rcar_sysc_power_up(struct rcar_sysc_ch *sysc_ch);
|
|
bool rcar_sysc_power_is_off(struct rcar_sysc_ch *sysc_ch);
|
|
void __iomem *rcar_sysc_init(phys_addr_t base);
|
|
|
|
#endif /* PM_RCAR_H */
|