platform/x86: wmi: add context argument to the probe function
The struct wmi_device_id has a context pointer field, forward this pointer as an argument to the probe function in struct wmi_driver. Update existing users of the same probe function to accept this new context argument. Signed-off-by: Mattias Jacobsson <2pi@mok.nu> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:

zatwierdzone przez
Andy Shevchenko

rodzic
a48e23385f
commit
440c4983de
@@ -54,7 +54,7 @@ read_bmof(struct file *filp, struct kobject *kobj,
|
||||
return count;
|
||||
}
|
||||
|
||||
static int wmi_bmof_probe(struct wmi_device *wdev)
|
||||
static int wmi_bmof_probe(struct wmi_device *wdev, const void *context)
|
||||
{
|
||||
struct bmof_priv *priv;
|
||||
int ret;
|
||||
|
Reference in New Issue
Block a user