diff options
| -rw-r--r-- | drivers/pnp/pnpacpi/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pnp/pnpacpi/core.c b/drivers/pnp/pnpacpi/core.c index 816479ad217b..e77d1feb759e 100644 --- a/drivers/pnp/pnpacpi/core.c +++ b/drivers/pnp/pnpacpi/core.c | |||
| @@ -131,7 +131,8 @@ static int __init pnpacpi_add_device(struct acpi_device *device) | |||
| 131 | struct pnp_id *dev_id; | 131 | struct pnp_id *dev_id; |
| 132 | struct pnp_dev *dev; | 132 | struct pnp_dev *dev; |
| 133 | 133 | ||
| 134 | if (!ispnpidacpi(acpi_device_hid(device)) || | 134 | status = acpi_get_handle(device->handle, "_CRS", &temp); |
| 135 | if (ACPI_FAILURE(status) || !ispnpidacpi(acpi_device_hid(device)) || | ||
| 135 | is_exclusive_device(device)) | 136 | is_exclusive_device(device)) |
| 136 | return 0; | 137 | return 0; |
| 137 | 138 | ||
