| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * WMI embedded Binary MOF driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2015 Andrew Lutomirski |
|---|
| 5 | 6 | * Copyright (C) 2017 VMware, Inc. All Rights Reserved. |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 8 | | - * under the terms of the GNU General Public License version 2 as published |
|---|
| 9 | | - * by the Free Software Foundation. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | - * GNU General Public License for more details. |
|---|
| 15 | 7 | */ |
|---|
| 16 | 8 | |
|---|
| 17 | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
|---|
| .. | .. |
|---|
| 54 | 46 | return count; |
|---|
| 55 | 47 | } |
|---|
| 56 | 48 | |
|---|
| 57 | | -static int wmi_bmof_probe(struct wmi_device *wdev) |
|---|
| 49 | +static int wmi_bmof_probe(struct wmi_device *wdev, const void *context) |
|---|
| 58 | 50 | { |
|---|
| 59 | 51 | struct bmof_priv *priv; |
|---|
| 60 | 52 | int ret; |
|---|
| .. | .. |
|---|
| 119 | 111 | |
|---|
| 120 | 112 | module_wmi_driver(wmi_bmof_driver); |
|---|
| 121 | 113 | |
|---|
| 122 | | -MODULE_ALIAS("wmi:" WMI_BMOF_GUID); |
|---|
| 114 | +MODULE_DEVICE_TABLE(wmi, wmi_bmof_id_table); |
|---|
| 123 | 115 | MODULE_AUTHOR("Andrew Lutomirski <luto@kernel.org>"); |
|---|
| 124 | 116 | MODULE_DESCRIPTION("WMI embedded Binary MOF driver"); |
|---|
| 125 | 117 | MODULE_LICENSE("GPL"); |
|---|