1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __SOC_STARFIVE_RESET_JH71X0_H
3#define __SOC_STARFIVE_RESET_JH71X0_H
4
5#include <linux/auxiliary_bus.h>
6#include <linux/compiler_types.h>
7#include <linux/container_of.h>
8
9struct jh71x0_reset_adev {
10 void __iomem *base;
11 struct auxiliary_device adev;
12};
13
14#define to_jh71x0_reset_adev(_adev) \
15 container_of((_adev), struct jh71x0_reset_adev, adev)
16
17#endif
18

source code of linux/include/soc/starfive/reset-starfive-jh71x0.h