|
@@ -825,9 +825,15 @@ static int __init eeepc_laptop_init(void)
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|
|
dev = acpi_get_physical_device(ehotk->device->handle);
|
|
dev = acpi_get_physical_device(ehotk->device->handle);
|
|
- result = eeepc_backlight_init(dev);
|
|
|
|
- if (result)
|
|
|
|
- goto fail_backlight;
|
|
|
|
|
|
+
|
|
|
|
+ if (!acpi_video_backlight_support()) {
|
|
|
|
+ result = eeepc_backlight_init(dev);
|
|
|
|
+ if (result)
|
|
|
|
+ goto fail_backlight;
|
|
|
|
+ } else
|
|
|
|
+ printk(EEEPC_INFO "Backlight controlled by ACPI video "
|
|
|
|
+ "driver\n");
|
|
|
|
+
|
|
result = eeepc_hwmon_init(dev);
|
|
result = eeepc_hwmon_init(dev);
|
|
if (result)
|
|
if (result)
|
|
goto fail_hwmon;
|
|
goto fail_hwmon;
|