hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/acpi/acpi_ipmi.c
....@@ -1,23 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * acpi_ipmi.c - ACPI IPMI opregion
34 *
45 * Copyright (C) 2010, 2013 Intel Corporation
56 * Author: Zhao Yakui <yakui.zhao@intel.com>
67 * Lv Zheng <lv.zheng@intel.com>
7
- *
8
- * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 as published by
12
- * the Free Software Foundation; either version 2 of the License, or (at
13
- * your option) any later version.
14
- *
15
- * This program is distributed in the hope that it will be useful, but
16
- * WITHOUT ANY WARRANTY; without even the implied warranty of
17
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
- * General Public License for more details.
19
- *
20
- * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
218 */
229
2310 #include <linux/module.h>
....@@ -46,7 +33,7 @@
4633 spinlock_t tx_msg_lock;
4734 acpi_handle handle;
4835 struct device *dev;
49
- ipmi_user_t user_interface;
36
+ struct ipmi_user *user_interface;
5037 int ipmi_ifnum; /* IPMI interface number */
5138 long curr_msgid;
5239 bool dead;
....@@ -125,7 +112,7 @@
125112 {
126113 struct acpi_ipmi_device *ipmi_device;
127114 int err;
128
- ipmi_user_t user;
115
+ struct ipmi_user *user;
129116
130117 ipmi_device = kzalloc(sizeof(*ipmi_device), GFP_KERNEL);
131118 if (!ipmi_device)