| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * WMI methods for use with dell-smbios |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2017 Dell Inc. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
|---|
| 11 | 8 | |
|---|
| .. | .. |
|---|
| 147 | 144 | return ret; |
|---|
| 148 | 145 | } |
|---|
| 149 | 146 | |
|---|
| 150 | | -static int dell_smbios_wmi_probe(struct wmi_device *wdev) |
|---|
| 147 | +static int dell_smbios_wmi_probe(struct wmi_device *wdev, const void *context) |
|---|
| 151 | 148 | { |
|---|
| 152 | 149 | struct wmi_driver *wdriver = |
|---|
| 153 | 150 | container_of(wdev->dev.driver, struct wmi_driver, driver); |
|---|
| .. | .. |
|---|
| 279 | 276 | wmi_driver_unregister(&dell_smbios_wmi_driver); |
|---|
| 280 | 277 | } |
|---|
| 281 | 278 | |
|---|
| 282 | | -MODULE_ALIAS("wmi:" DELL_WMI_SMBIOS_GUID); |
|---|
| 279 | +MODULE_DEVICE_TABLE(wmi, dell_smbios_wmi_id_table); |
|---|