diff options
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r-- | drivers/acpi/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 31218e1d2a18..e332306ae2b9 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c | |||
@@ -844,7 +844,7 @@ static void acpi_device_set_id(struct acpi_device *device, | |||
844 | * ---- | 844 | * ---- |
845 | * Fix for the system root bus device -- the only root-level device. | 845 | * Fix for the system root bus device -- the only root-level device. |
846 | */ | 846 | */ |
847 | if ((parent == ACPI_ROOT_OBJECT) && (type == ACPI_BUS_TYPE_DEVICE)) { | 847 | if (((acpi_handle)parent == ACPI_ROOT_OBJECT) && (type == ACPI_BUS_TYPE_DEVICE)) { |
848 | hid = ACPI_BUS_HID; | 848 | hid = ACPI_BUS_HID; |
849 | strcpy(device->pnp.device_name, ACPI_BUS_DEVICE_NAME); | 849 | strcpy(device->pnp.device_name, ACPI_BUS_DEVICE_NAME); |
850 | strcpy(device->pnp.device_class, ACPI_BUS_CLASS); | 850 | strcpy(device->pnp.device_class, ACPI_BUS_CLASS); |