1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 2 /* 3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd. 4 * Author: Sandy Huang <hjc@rock-chips.com> 5 */ 6 7 #ifndef PANEL_SIMPLE_H 8 #define PANEL_SIMPLE_H 9 #include <drm/drm_panel.h> 10 11 #if IS_ENABLED(CONFIG_DRM_PANEL_SIMPLE) 12 int panel_simple_loader_protect(struct drm_panel *panel); 13 #else panel_simple_loader_protect(struct drm_panel * panel)14static inline int panel_simple_loader_protect(struct drm_panel *panel) 15 { 16 return 0; 17 } 18 #endif 19 #endif 20