Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
0004  *
0005  * Author: John Rigby, <jrigby@freescale.com>, Friday Apr 13 2007
0006  *
0007  * Description:
0008  * MPC5xxx Prototypes and definitions
0009  */
0010 
0011 #ifndef __ASM_POWERPC_MPC5xxx_H__
0012 #define __ASM_POWERPC_MPC5xxx_H__
0013 
0014 #include <linux/property.h>
0015 
0016 unsigned long mpc5xxx_fwnode_get_bus_frequency(struct fwnode_handle *fwnode);
0017 
0018 static inline unsigned long mpc5xxx_get_bus_frequency(struct device *dev)
0019 {
0020     return mpc5xxx_fwnode_get_bus_frequency(dev_fwnode(dev));
0021 }
0022 
0023 #endif /* __ASM_POWERPC_MPC5xxx_H__ */
0024