diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-09-20 11:44:34 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-09-22 16:54:23 +0300 |
commit | 5890032523780ddbf508d4b86ddd738bff43a70c (patch) | |
tree | 614b89f097dbce4b75d6bab1ad881480455bd151 /drivers/platform/x86/toshiba_acpi.c | |
parent | c710765a4742337e40199403acde2fdd3189183d (diff) | |
download | linux-5890032523780ddbf508d4b86ddd738bff43a70c.tar.xz |
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>
Diffstat (limited to 'drivers/platform/x86/toshiba_acpi.c')
-rw-r--r-- | drivers/platform/x86/toshiba_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index 4ab0bd34d397..160abd3b3af8 100644 --- a/drivers/platform/x86/toshiba_acpi.c +++ b/drivers/platform/x86/toshiba_acpi.c @@ -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"); |