1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Copyright (c) 2016 Linaro Limited. 4 * Copyright (c) 2014-2016 Hisilicon Limited. 5 */ 6 7 #ifndef __KIRIN_DRM_DRV_H__ 8 #define __KIRIN_DRM_DRV_H__ 9 10 #define MAX_CRTC 2 11 12 /* display controller init/cleanup ops */ 13 struct kirin_dc_ops { 14 int (*init)(struct platform_device *pdev); 15 void (*cleanup)(struct platform_device *pdev); 16 }; 17 18 extern const struct kirin_dc_ops ade_dc_ops; 19 20 #endif /* __KIRIN_DRM_DRV_H__ */ 21