forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/media/pci/ngene/ngene-cards.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ngene-cards.c: nGene PCIe bridge driver - card specific info
34 *
....@@ -7,20 +8,6 @@
78 * Modifications for new nGene firmware,
89 * support for EEPROM-copying,
910 * support for new dual DVB-S2 card prototype
10
- *
11
- *
12
- * This program is free software; you can redistribute it and/or
13
- * modify it under the terms of the GNU General Public License
14
- * version 2 only, as published by the Free Software Foundation.
15
- *
16
- *
17
- * This program is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU General Public License for more details.
21
- *
22
- * To obtain the license, point your browser to
23
- * http://www.gnu.org/copyleft/gpl.html
2411 */
2512
2613 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -1199,7 +1186,7 @@
11991186 /****************************************************************************/
12001187
12011188 static pci_ers_result_t ngene_error_detected(struct pci_dev *dev,
1202
- enum pci_channel_state state)
1189
+ pci_channel_state_t state)
12031190 {
12041191 dev_err(&dev->dev, "PCI error\n");
12051192 if (state == pci_channel_io_perm_failure)