.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Dell WMI descriptor driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2017 Dell Inc. All Rights Reserved. |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify it |
---|
7 | | - * under the terms of the GNU General Public License version 2 as published |
---|
8 | | - * by the Free Software Foundation. |
---|
9 | | - * |
---|
10 | | - * This program is distributed in the hope that it will be useful, |
---|
11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | | - * GNU General Public License for more details. |
---|
14 | 6 | */ |
---|
15 | 7 | |
---|
16 | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
.. | .. |
---|
106 | 98 | * WMI buffer length 12 4 <length> |
---|
107 | 99 | * WMI hotfix number 16 4 <hotfix> |
---|
108 | 100 | */ |
---|
109 | | -static int dell_wmi_descriptor_probe(struct wmi_device *wdev) |
---|
| 101 | +static int dell_wmi_descriptor_probe(struct wmi_device *wdev, |
---|
| 102 | + const void *context) |
---|
110 | 103 | { |
---|
111 | 104 | union acpi_object *obj = NULL; |
---|
112 | 105 | struct descriptor_priv *priv; |
---|
.. | .. |
---|
207 | 200 | |
---|
208 | 201 | module_wmi_driver(dell_wmi_descriptor_driver); |
---|
209 | 202 | |
---|
210 | | -MODULE_ALIAS("wmi:" DELL_WMI_DESCRIPTOR_GUID); |
---|
| 203 | +MODULE_DEVICE_TABLE(wmi, dell_wmi_descriptor_id_table); |
---|
211 | 204 | MODULE_AUTHOR("Mario Limonciello <mario.limonciello@dell.com>"); |
---|
212 | 205 | MODULE_DESCRIPTION("Dell WMI descriptor driver"); |
---|
213 | 206 | MODULE_LICENSE("GPL"); |
---|