diff options
| -rw-r--r-- | drivers/platform/x86/compal-laptop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/x86/compal-laptop.c b/drivers/platform/x86/compal-laptop.c index eb95878fa583..3994c80549fb 100644 --- a/drivers/platform/x86/compal-laptop.c +++ b/drivers/platform/x86/compal-laptop.c | |||
| @@ -275,7 +275,7 @@ static int set_backlight_level(int level) | |||
| 275 | 275 | ||
| 276 | ec_write(BACKLIGHT_LEVEL_ADDR, level); | 276 | ec_write(BACKLIGHT_LEVEL_ADDR, level); |
| 277 | 277 | ||
| 278 | return 1; | 278 | return 0; |
| 279 | } | 279 | } |
| 280 | 280 | ||
| 281 | static int get_backlight_level(void) | 281 | static int get_backlight_level(void) |
| @@ -763,7 +763,7 @@ static int dmi_check_cb(const struct dmi_system_id *id) | |||
| 763 | printk(KERN_INFO DRIVER_NAME": Identified laptop model '%s'\n", | 763 | printk(KERN_INFO DRIVER_NAME": Identified laptop model '%s'\n", |
| 764 | id->ident); | 764 | id->ident); |
| 765 | extra_features = false; | 765 | extra_features = false; |
| 766 | return 0; | 766 | return 1; |
| 767 | } | 767 | } |
| 768 | 768 | ||
| 769 | static int dmi_check_cb_extra(const struct dmi_system_id *id) | 769 | static int dmi_check_cb_extra(const struct dmi_system_id *id) |
| @@ -772,7 +772,7 @@ static int dmi_check_cb_extra(const struct dmi_system_id *id) | |||
| 772 | "enabling extra features\n", | 772 | "enabling extra features\n", |
| 773 | id->ident); | 773 | id->ident); |
| 774 | extra_features = true; | 774 | extra_features = true; |
| 775 | return 0; | 775 | return 1; |
| 776 | } | 776 | } |
| 777 | 777 | ||
| 778 | static struct dmi_system_id __initdata compal_dmi_table[] = { | 778 | static struct dmi_system_id __initdata compal_dmi_table[] = { |
