1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __SOC_NPCM8XX_CLOCK_H
3 #define __SOC_NPCM8XX_CLOCK_H
5 #include <linux/auxiliary_bus.h>
6 #include <linux/container_of.h>
8 struct npcm_clock_adev
{
10 struct auxiliary_device adev
;
13 static inline struct npcm_clock_adev
*to_npcm_clock_adev(struct auxiliary_device
*_adev
)
15 return container_of(_adev
, struct npcm_clock_adev
, adev
);