diff options
author | Andrew Morton <akpm@osdl.org> | 2007-01-13 17:04:36 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-13 03:05:54 -0500 |
commit | 82c47731f77e7615f5a952c662d873b55e71f3b9 (patch) | |
tree | 6cc65c5457ff8a1ece0f2aad55cd7fe1dd8f3ef0 /drivers/acpi/sony_acpi.c | |
parent | 243e8b191df4e9c11e62ea11fa298351997e98c3 (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>
Diffstat (limited to 'drivers/acpi/sony_acpi.c')
-rw-r--r-- | drivers/acpi/sony_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sony_acpi.c b/drivers/acpi/sony_acpi.c index fd7d55a4e588..195895ca4346 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) | |||
322 | 322 | ||
323 | if (ACPI_SUCCESS(acpi_get_handle(sony_acpi_handle, "GBRT", &handle))) { | 323 | if (ACPI_SUCCESS(acpi_get_handle(sony_acpi_handle, "GBRT", &handle))) { |
324 | sony_backlight_device = backlight_device_register("sony", NULL, | 324 | sony_backlight_device = backlight_device_register("sony", NULL, |
325 | &sony_backlight_properties); | 325 | NULL, &sony_backlight_properties); |
326 | if (IS_ERR(sony_backlight_device)) { | 326 | if (IS_ERR(sony_backlight_device)) { |
327 | printk(LOG_PFX "unable to register backlight device\n"); | 327 | printk(LOG_PFX "unable to register backlight device\n"); |
328 | } | 328 | } |