1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2016 Maxime Ripard. All rights reserved.
9 #include <linux/reset-controller.h>
10 #include <linux/spinlock.h>
12 struct ccu_reset_map {
20 struct ccu_reset_map *reset_map;
23 struct reset_controller_dev rcdev;
26 static inline struct ccu_reset *rcdev_to_ccu_reset(struct reset_controller_dev *rcdev)
28 return container_of(rcdev, struct ccu_reset, rcdev);
31 extern const struct reset_control_ops ccu_reset_ops;
33 #endif /* _CCU_RESET_H_ */