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