reset-starfive-jh71x0.h 400 B

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