sony_acpi: Video sysfs support take 2
authorAndrew Morton <akpm@osdl.org>
Sat, 13 Jan 2007 22:04:36 +0000 (23:04 +0100)
committerLen Brown <len.brown@intel.com>
Tue, 13 Feb 2007 08:05:54 +0000 (03:05 -0500)
add dev argument for backlight_device_register

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/sony_acpi.c

index fd7d55a..195895c 100644 (file)
@@ -322,7 +322,7 @@ static int sony_acpi_add(struct acpi_device *device)
 
        if (ACPI_SUCCESS(acpi_get_handle(sony_acpi_handle, "GBRT", &handle))) {
                sony_backlight_device = backlight_device_register("sony", NULL,
-                                       &sony_backlight_properties);
+                                       NULL, &sony_backlight_properties);
                if (IS_ERR(sony_backlight_device)) {
                        printk(LOG_PFX "unable to register backlight device\n");
                }