1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 2 /* 3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd 4 * 5 * author: 6 * Ding Wei, leo.ding@rock-chips.com 7 * 8 */ 9 #ifndef __ROCKCHIP_MPP_HACK_PX30_H__ 10 #define __ROCKCHIP_MPP_HACK_PX30_H__ 11 12 #ifdef CONFIG_CPU_PX30 13 int px30_workaround_combo_init(struct mpp_dev *mpp); 14 int px30_workaround_combo_switch_grf(struct mpp_dev *mpp); 15 #else px30_workaround_combo_init(struct mpp_dev * mpp)16static inline int px30_workaround_combo_init(struct mpp_dev *mpp) 17 { 18 return 0; 19 } 20 px30_workaround_combo_switch_grf(struct mpp_dev * mpp)21static inline int px30_workaround_combo_switch_grf(struct mpp_dev *mpp) 22 { 23 return 0; 24 } 25 #endif 26 27 #endif 28