diff options
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/asus_acpi.c | 2 | ||||
-rw-r--r-- | drivers/acpi/ibm_acpi.c | 2 | ||||
-rw-r--r-- | drivers/acpi/toshiba_acpi.c | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c index bf7bc25e680e..11468e46253c 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/acpi/asus_acpi.c | |||
@@ -1402,7 +1402,7 @@ static int __init asus_acpi_init(void) | |||
1402 | return result; | 1402 | return result; |
1403 | } | 1403 | } |
1404 | 1404 | ||
1405 | asus_backlight_device = backlight_device_register("asus", NULL, | 1405 | asus_backlight_device = backlight_device_register("asus",NULL,NULL, |
1406 | &asus_backlight_data); | 1406 | &asus_backlight_data); |
1407 | if (IS_ERR(asus_backlight_device)) { | 1407 | if (IS_ERR(asus_backlight_device)) { |
1408 | printk(KERN_ERR "Could not register asus backlight device\n"); | 1408 | printk(KERN_ERR "Could not register asus backlight device\n"); |
diff --git a/drivers/acpi/ibm_acpi.c b/drivers/acpi/ibm_acpi.c index 1397efb71341..da08b9c62ffc 100644 --- a/drivers/acpi/ibm_acpi.c +++ b/drivers/acpi/ibm_acpi.c | |||
@@ -1714,7 +1714,7 @@ static struct backlight_properties ibm_backlight_data = { | |||
1714 | 1714 | ||
1715 | static int brightness_init(void) | 1715 | static int brightness_init(void) |
1716 | { | 1716 | { |
1717 | ibm_backlight_device = backlight_device_register("ibm", NULL, | 1717 | ibm_backlight_device = backlight_device_register("ibm", NULL, NULL, |
1718 | &ibm_backlight_data); | 1718 | &ibm_backlight_data); |
1719 | if (IS_ERR(ibm_backlight_device)) { | 1719 | if (IS_ERR(ibm_backlight_device)) { |
1720 | printk(IBM_ERR "Could not register backlight device\n"); | 1720 | printk(IBM_ERR "Could not register backlight device\n"); |
diff --git a/drivers/acpi/toshiba_acpi.c b/drivers/acpi/toshiba_acpi.c index 2f35f891593f..88aeccbafaaf 100644 --- a/drivers/acpi/toshiba_acpi.c +++ b/drivers/acpi/toshiba_acpi.c | |||
@@ -590,7 +590,8 @@ static int __init toshiba_acpi_init(void) | |||
590 | remove_proc_entry(PROC_TOSHIBA, acpi_root_dir); | 590 | remove_proc_entry(PROC_TOSHIBA, acpi_root_dir); |
591 | } | 591 | } |
592 | 592 | ||
593 | toshiba_backlight_device = backlight_device_register("toshiba", NULL, | 593 | toshiba_backlight_device = backlight_device_register("toshiba",NULL, |
594 | NULL, | ||
594 | &toshiba_backlight_data); | 595 | &toshiba_backlight_data); |
595 | if (IS_ERR(toshiba_backlight_device)) { | 596 | if (IS_ERR(toshiba_backlight_device)) { |
596 | printk(KERN_ERR "Could not register toshiba backlight device\n"); | 597 | printk(KERN_ERR "Could not register toshiba backlight device\n"); |