Commit 58900325 authored by Yang Yingliang's avatar Yang Yingliang Committed by Hans de Goede

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: 3cb1f40d ("drivers/platform: toshiba_acpi: Call HCI_PANEL_POWER_ON on resume on some models")
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220920084434.3739493-1-yangyingliang@huawei.comReviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent c710765a
...@@ -52,7 +52,7 @@ MODULE_AUTHOR("John Belmonte"); ...@@ -52,7 +52,7 @@ MODULE_AUTHOR("John Belmonte");
MODULE_DESCRIPTION("Toshiba Laptop ACPI Extras Driver"); MODULE_DESCRIPTION("Toshiba Laptop ACPI Extras Driver");
MODULE_LICENSE("GPL"); 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_param(turn_on_panel_on_resume, int, 0644);
MODULE_PARM_DESC(turn_on_panel_on_resume, MODULE_PARM_DESC(turn_on_panel_on_resume,
"Call HCI_PANEL_POWER_ON on resume (-1 = auto, 0 = no, 1 = yes"); "Call HCI_PANEL_POWER_ON on resume (-1 = auto, 0 = no, 1 = yes");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment