forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/media/pci/cx23885/cx23885.h
....@@ -1,18 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Driver for the Conexant CX23885 PCIe bridge
34 *
45 * Copyright (c) 2006 Steven Toth <stoth@linuxtv.org>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- *
15
- * GNU General Public License for more details.
166 */
177
188 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -138,7 +128,6 @@
138128 V4L2_STD_PAL_60 | V4L2_STD_SECAM_L | V4L2_STD_SECAM_DK)
139129
140130 struct cx23885_fmt {
141
- char *name;
142131 u32 fourcc; /* v4l2 format id */
143132 int depth;
144133 int flags;
....@@ -247,7 +236,7 @@
247236 struct i2c_client i2c_client;
248237 u32 i2c_rc;
249238
250
- /* 885 registers used for raw addess */
239
+ /* 885 registers used for raw address */
251240 u32 i2c_period;
252241 u32 reg_ctrl;
253242 u32 reg_stat;
....@@ -336,8 +325,8 @@
336325 struct cx23885_riscmem risc;
337326 void *vaddr;
338327 struct scatterlist *sglist;
339
- int sglen;
340
- int nr_pages;
328
+ int sglen;
329
+ unsigned long nr_pages;
341330 };
342331
343332 struct cx23885_audio_dev {