aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2007-01-13 23:04:36 +0100
committerLen Brown <len.brown@intel.com>2007-02-13 03:05:54 -0500
commit82c47731f77e7615f5a952c662d873b55e71f3b9 (patch)
tree6cc65c5457ff8a1ece0f2aad55cd7fe1dd8f3ef0
parent243e8b191df4e9c11e62ea11fa298351997e98c3 (diff)
sony_acpi: Video sysfs support take 2
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>
-rw-r--r--drivers/acpi/sony_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sony_acpi.c b/drivers/acpi/sony_acpi.c
index fd7d55a4e58..195895ca434 100644
--- a/drivers/acpi/sony_acpi.c
+++ b/drivers/acpi/sony_acpi.c
@@ -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");
}