.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2012 Samsung Electronics Co.Ltd |
---|
3 | 4 | * 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 |
---|
8 | 5 | */ |
---|
9 | 6 | |
---|
10 | 7 | #ifdef CONFIG_DRM_EXYNOS_G2D |
---|
.. | .. |
---|
37 | 34 | return -ENODEV; |
---|
38 | 35 | } |
---|
39 | 36 | |
---|
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) |
---|
41 | 38 | { |
---|
42 | 39 | return 0; |
---|
43 | 40 | } |
---|
44 | 41 | |
---|
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) |
---|
46 | 43 | { } |
---|
47 | 44 | #endif |
---|