File Index
Files and directories
Sign in
FILE

mpc5xxx.h

File preview with syntax highlighting.

linux-6.19.14/arch/powerpc/include/asm/mpc5xxx.h C
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
 4 *
 5 * Author: John Rigby, <jrigby@freescale.com>, Friday Apr 13 2007
 6 *
 7 * Description:
 8 * MPC5xxx Prototypes and definitions
 9 */
10
11#ifndef __ASM_POWERPC_MPC5xxx_H__
12#define __ASM_POWERPC_MPC5xxx_H__
13
14#include <linux/property.h>
15
16unsigned long mpc5xxx_fwnode_get_bus_frequency(struct fwnode_handle *fwnode);
17
18static inline unsigned long mpc5xxx_get_bus_frequency(struct device *dev)
19{
20	return mpc5xxx_fwnode_get_bus_frequency(dev_fwnode(dev));
21}
22
23#endif /* __ASM_POWERPC_MPC5xxx_H__ */
24
~/ Read-only file preview.