Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/include/soc/nuvoton/clock-npcm8xx.h
26288 views
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
static inline struct npcm_clock_adev *to_npcm_clock_adev(struct auxiliary_device *_adev)
14
{
15
return container_of(_adev, struct npcm_clock_adev, adev);
16
}
17
18
#endif
19
20