forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/media/usb/gspca/vicam.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * gspca ViCam subdriver
34 *
....@@ -10,16 +11,6 @@
1011 * Pavel Machek (pavel@ucw.cz),
1112 * John Tyner (jtyner@cs.ucr.edu),
1213 * Monroe Williams (monroe@pobox.com)
13
- *
14
- * This program is free software; you can redistribute it and/or modify
15
- * it under the terms of the GNU General Public License as published by
16
- * the Free Software Foundation; either version 2 of the License, or
17
- * any later version.
18
- *
19
- * This program is distributed in the hope that it will be useful,
20
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
- * GNU General Public License for more details.
2314 */
2415
2516 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -234,7 +225,7 @@
234225 {
235226 int ret;
236227 const struct ihex_binrec *rec;
237
- const struct firmware *uninitialized_var(fw);
228
+ const struct firmware *fw;
238229 u8 *firmware_buf;
239230
240231 ret = request_ihex_firmware(&fw, VICAM_FIRMWARE,