Skip to content

Commit

Permalink
UBUNTU: SAUCE: (no-up) acpi/video.c: Fix compile warnings
Browse files Browse the repository at this point in the history
"UBUNTU: SAUCE: (no-up) Provide a param for allowing the BIOS to handle
changing the brightness on AC/battery status changes." introduced a compile
warning.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
  • Loading branch information
rtg-canonical committed Apr 5, 2013
1 parent 0bb7c9b commit 39221dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module_param(brightness_switch_enabled, bool, 0644);
* AC/battery status changes. On some laptops (MSI Wind) this doesn't
* work so we need a workaround.
*/
static int brightness_autoswitch_via_bios = 0;
static bool brightness_autoswitch_via_bios = false;
module_param(brightness_autoswitch_via_bios, bool, 0644);

/*
Expand Down

0 comments on commit 39221dd

Please sign in to comment.