Caleb Connolly | 2983ae8 | 2024-04-03 14:07:45 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | #ifndef __QCOM_PRIV_H__ |
| 4 | #define __QCOM_PRIV_H__ |
| 5 | |
| 6 | #if CONFIG_IS_ENABLED(OF_LIVE) |
| 7 | /** |
| 8 | * qcom_of_fixup_nodes() - Fixup Qualcomm DT nodes |
| 9 | * |
| 10 | * Adjusts nodes in the live tree to improve compatibility with U-Boot. |
| 11 | */ |
| 12 | void qcom_of_fixup_nodes(void); |
| 13 | #else |
| 14 | static inline void qcom_of_fixup_nodes(void) |
| 15 | { |
| 16 | log_debug("Unable to dynamically fixup USB nodes, please enable CONFIG_OF_LIVE\n"); |
| 17 | } |
| 18 | #endif /* OF_LIVE */ |
| 19 | |
| 20 | #endif /* __QCOM_PRIV_H__ */ |