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>
This commit is contained in:
parent
243e8b191d
commit
82c47731f7
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue