hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/gpu/drm/omapdrm/omap_gem.h
....@@ -1,20 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * omap_gem.h -- OMAP DRM GEM Object Management
34 *
45 * Copyright (C) 2011 Texas Instruments
56 * Author: Rob Clark <rob@ti.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of the GNU General Public License version 2 as published by
9
- * the Free Software Foundation.
10
- *
11
- * This program is distributed in the hope that it will be useful, but WITHOUT
12
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14
- * more details.
15
- *
16
- * You should have received a copy of the GNU General Public License along with
17
- * this program. If not, see <http://www.gnu.org/licenses/>.
187 */
198
209 #ifndef __OMAPDRM_GEM_H__
....@@ -76,8 +65,7 @@
7665 size_t omap_gem_mmap_size(struct drm_gem_object *obj);
7766
7867 /* PRIME Interface */
79
-struct dma_buf *omap_gem_prime_export(struct drm_device *dev,
80
- struct drm_gem_object *obj, int flags);
68
+struct dma_buf *omap_gem_prime_export(struct drm_gem_object *obj, int flags);
8169 struct drm_gem_object *omap_gem_prime_import(struct drm_device *dev,
8270 struct dma_buf *buffer);
8371