File Index
Files and directories
Sign in
FILE

clock-npcm8xx.h

File preview with syntax highlighting.

linux-6.19.14/include/soc/nuvoton/clock-npcm8xx.h C
 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
 8struct npcm_clock_adev {
 9	void __iomem *base;
10	struct auxiliary_device adev;
11};
12
13static 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
~/ Read-only file preview.