hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/hwmon/abituguru.c
....@@ -1,19 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * abituguru.c Copyright (c) 2005-2006 Hans de Goede <hdegoede@redhat.com>
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License as published by
6
- * the Free Software Foundation; either version 2 of the License, or
7
- * (at your option) any later version.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
13
- *
14
- * You should have received a copy of the GNU General Public License
15
- * along with this program; if not, write to the Free Software
16
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
174 */
185 /*
196 * This driver supports the sensor part of the first and second revision of
....@@ -1277,7 +1264,7 @@
12771264 * El weirdo probe order, to keep the sysfs order identical to the
12781265 * BIOS and window-appliction listing order.
12791266 */
1280
- const u8 probe_order[ABIT_UGURU_MAX_BANK1_SENSORS] = {
1267
+ static const u8 probe_order[ABIT_UGURU_MAX_BANK1_SENSORS] = {
12811268 0x00, 0x01, 0x03, 0x04, 0x0A, 0x08, 0x0E, 0x02,
12821269 0x09, 0x06, 0x05, 0x0B, 0x0F, 0x0D, 0x07, 0x0C };
12831270