diff options
Diffstat (limited to 'drivers/pnp/interface.c')
-rw-r--r-- | drivers/pnp/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/interface.c b/drivers/pnp/interface.c index 982658477a58..e882896bdbd7 100644 --- a/drivers/pnp/interface.c +++ b/drivers/pnp/interface.c | |||
@@ -364,7 +364,7 @@ pnp_set_current_resources(struct device *dmdev, struct device_attribute *attr, | |||
364 | if (!strnicmp(buf, "get", 3)) { | 364 | if (!strnicmp(buf, "get", 3)) { |
365 | mutex_lock(&pnp_res_mutex); | 365 | mutex_lock(&pnp_res_mutex); |
366 | if (pnp_can_read(dev)) | 366 | if (pnp_can_read(dev)) |
367 | dev->protocol->get(dev, &dev->res); | 367 | dev->protocol->get(dev); |
368 | mutex_unlock(&pnp_res_mutex); | 368 | mutex_unlock(&pnp_res_mutex); |
369 | goto done; | 369 | goto done; |
370 | } | 370 | } |