.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * amd8131_edac.c, AMD8131 hypertransport chip EDAC kernel module |
---|
3 | 4 | * |
---|
.. | .. |
---|
6 | 7 | * Authors: Cao Qingtao <qingtao.cao@windriver.com> |
---|
7 | 8 | * Benjamin Walsh <benjamin.walsh@windriver.com> |
---|
8 | 9 | * 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 |
---|
22 | 10 | */ |
---|
23 | 11 | |
---|
24 | 12 | #include <linux/module.h> |
---|
.. | .. |
---|
55 | 43 | printk(KERN_ERR AMD8131_EDAC_MOD_STR |
---|
56 | 44 | " PCI Access Write Error at 0x%x\n", reg); |
---|
57 | 45 | } |
---|
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 | | -}; |
---|
66 | 46 | |
---|
67 | 47 | /* Support up to two AMD8131 chipsets on a platform */ |
---|
68 | 48 | static struct amd8131_dev_info amd8131_devices[] = { |
---|