Warning: This file is not a C or C++ file. It does not have highlighting.
| 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 | |
| 16 | unsigned long mpc5xxx_fwnode_get_bus_frequency(struct fwnode_handle *fwnode); |
| 17 | |
| 18 | static 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 | |
| 25 |
Warning: This file is not a C or C++ file. It does not have highlighting.
