0001
0002
0003
0004
0005
0006 #ifndef __HISI_RESET_H
0007 #define __HISI_RESET_H
0008
0009 struct device_node;
0010 struct hisi_reset_controller;
0011
0012 #ifdef CONFIG_RESET_CONTROLLER
0013 struct hisi_reset_controller *hisi_reset_init(struct platform_device *pdev);
0014 void hisi_reset_exit(struct hisi_reset_controller *rstc);
0015 #else
0016 static inline
0017 struct hisi_reset_controller *hisi_reset_init(struct platform_device *pdev)
0018 {
0019 return 0;
0020 }
0021 static inline void hisi_reset_exit(struct hisi_reset_controller *rstc)
0022 {}
0023 #endif
0024
0025 #endif