| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ngene-cards.c: nGene PCIe bridge driver - card specific info |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * Modifications for new nGene firmware, |
|---|
| 8 | 9 | * support for EEPROM-copying, |
|---|
| 9 | 10 | * 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 |
|---|
| 24 | 11 | */ |
|---|
| 25 | 12 | |
|---|
| 26 | 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
|---|
| .. | .. |
|---|
| 1199 | 1186 | /****************************************************************************/ |
|---|
| 1200 | 1187 | |
|---|
| 1201 | 1188 | static pci_ers_result_t ngene_error_detected(struct pci_dev *dev, |
|---|
| 1202 | | - enum pci_channel_state state) |
|---|
| 1189 | + pci_channel_state_t state) |
|---|
| 1203 | 1190 | { |
|---|
| 1204 | 1191 | dev_err(&dev->dev, "PCI error\n"); |
|---|
| 1205 | 1192 | if (state == pci_channel_io_perm_failure) |
|---|