forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/gpu/drm/exynos/exynos_drm_g2d.h
....@@ -1,10 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2012 Samsung Electronics Co.Ltd
34 * Authors: Joonyoung Shim <jy0922.shim@samsung.com>
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License version 2 as
7
- * published by the Free Software Foundationr
85 */
96
107 #ifdef CONFIG_DRM_EXYNOS_G2D
....@@ -37,11 +34,11 @@
3734 return -ENODEV;
3835 }
3936
40
-int g2d_open(struct drm_device *drm_dev, struct drm_file *file)
37
+static inline int g2d_open(struct drm_device *drm_dev, struct drm_file *file)
4138 {
4239 return 0;
4340 }
4441
45
-void g2d_close(struct drm_device *drm_dev, struct drm_file *file)
42
+static inline void g2d_close(struct drm_device *drm_dev, struct drm_file *file)
4643 { }
4744 #endif