hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/edac/amd8131_edac.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * amd8131_edac.c, AMD8131 hypertransport chip EDAC kernel module
34 *
....@@ -6,19 +7,6 @@
67 * Authors: Cao Qingtao <qingtao.cao@windriver.com>
78 * Benjamin Walsh <benjamin.walsh@windriver.com>
89 * Hu Yongqi <yongqi.hu@windriver.com>
9
- *
10
- * This program is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License version 2 as
12
- * published by the Free Software Foundation.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17
- * See the GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2210 */
2311
2412 #include <linux/module.h>
....@@ -55,14 +43,6 @@
5543 printk(KERN_ERR AMD8131_EDAC_MOD_STR
5644 " PCI Access Write Error at 0x%x\n", reg);
5745 }
58
-
59
-static char * const bridge_str[] = {
60
- [NORTH_A] = "NORTH A",
61
- [NORTH_B] = "NORTH B",
62
- [SOUTH_A] = "SOUTH A",
63
- [SOUTH_B] = "SOUTH B",
64
- [NO_BRIDGE] = "NO BRIDGE",
65
-};
6646
6747 /* Support up to two AMD8131 chipsets on a platform */
6848 static struct amd8131_dev_info amd8131_devices[] = {