提交 82c47731 编写于 作者: A Andrew Morton 提交者: Len Brown

sony_acpi: Video sysfs support take 2

add dev argument for backlight_device_register
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NMattia Dongili <malattia@linux.it>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 243e8b19
...@@ -322,7 +322,7 @@ static int sony_acpi_add(struct acpi_device *device) ...@@ -322,7 +322,7 @@ static int sony_acpi_add(struct acpi_device *device)
if (ACPI_SUCCESS(acpi_get_handle(sony_acpi_handle, "GBRT", &handle))) { if (ACPI_SUCCESS(acpi_get_handle(sony_acpi_handle, "GBRT", &handle))) {
sony_backlight_device = backlight_device_register("sony", NULL, sony_backlight_device = backlight_device_register("sony", NULL,
&sony_backlight_properties); NULL, &sony_backlight_properties);
if (IS_ERR(sony_backlight_device)) { if (IS_ERR(sony_backlight_device)) {
printk(LOG_PFX "unable to register backlight device\n"); printk(LOG_PFX "unable to register backlight device\n");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册