forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/media/platform/s3c-camif/camif-core.h
....@@ -1,12 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * s3c24xx/s3c64xx SoC series Camera Interface (CAMIF) driver
34 *
45 * Copyright (C) 2012 Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
56 * Copyright (C) 2012 Tomasz Figa <tomasz.figa@gmail.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 */
118
129 #ifndef CAMIF_CORE_H_
....@@ -92,7 +89,6 @@
9289 * @ybpp: number of luminance bytes per pixel
9390 */
9491 struct camif_fmt {
95
- char *name;
9692 u32 fourcc;
9793 u32 color;
9894 u16 colplanes;
....@@ -260,7 +256,7 @@
260256 * @clock: clocks required for the CAMIF operation
261257 * @lock: mutex protecting this data structure
262258 * @slock: spinlock protecting CAMIF registers
263
- * @io_base: start address of the mmaped CAMIF registers
259
+ * @io_base: start address of the mmapped CAMIF registers
264260 */
265261 struct camif_dev {
266262 struct media_device media_dev;