platform/x86: toshiba_acpi: change turn_on_panel_on_resume to static
turn_on_panel_on_resume is only used in toshiba_acpi.c now, change it to static. Fixes: 3cb1f40dfdc3 ("drivers/platform: toshiba_acpi: Call HCI_PANEL_POWER_ON on resume on some models") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20220920084434.3739493-1-yangyingliang@huawei.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
c710765a47
commit
5890032523
@ -52,7 +52,7 @@ MODULE_AUTHOR("John Belmonte");
|
||||
MODULE_DESCRIPTION("Toshiba Laptop ACPI Extras Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
int turn_on_panel_on_resume = -1;
|
||||
static int turn_on_panel_on_resume = -1;
|
||||
module_param(turn_on_panel_on_resume, int, 0644);
|
||||
MODULE_PARM_DESC(turn_on_panel_on_resume,
|
||||
"Call HCI_PANEL_POWER_ON on resume (-1 = auto, 0 = no, 1 = yes");
|
||||
|
Loading…
x
Reference in New Issue
Block a user