hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/arm/mach-cns3xxx/pcie.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * PCI-E support for CNS3xxx
34 *
....@@ -5,10 +6,6 @@
56 * Richard Liu <richard.liu@caviumnetworks.com>
67 * Copyright 2010 MontaVista Software, LLC.
78 * Anton Vorontsov <avorontsov@mvista.com>
8
- *
9
- * This file is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License, Version 2, as
11
- * published by the Free Software Foundation.
129 */
1310
1411 #include <linux/init.h>
....@@ -93,7 +90,7 @@
9390 u32 mask = (0x1ull << (size * 8)) - 1;
9491 int shift = (where % 4) * 8;
9592
96
- ret = pci_generic_config_read32(bus, devfn, where, size, val);
93
+ ret = pci_generic_config_read(bus, devfn, where, size, val);
9794
9895 if (ret == PCIBIOS_SUCCESSFUL && !bus->number && !devfn &&
9996 (where & 0xffc) == PCI_CLASS_REVISION)