summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-09-09 23:09:50 +0200
committerHans de Goede <hdegoede@redhat.com>2022-09-10 14:16:12 +0200
commit7318b613204942ccfd0973cd7f6e534baa86ff5e (patch)
tree2de62551e747206c0c6fd83c1a2c83763a85dd91 /drivers/platform
parent072aba58c9a4fa5edbfa1db92f78951cbb65d9b9 (diff)
downloadlinux-7318b613204942ccfd0973cd7f6e534baa86ff5e.tar.gz
linux-7318b613204942ccfd0973cd7f6e534baa86ff5e.tar.bz2
linux-7318b613204942ccfd0973cd7f6e534baa86ff5e.zip
platform/x86: asus-wmi: Make kbd_rgb_mode_groups static
kbd_rgb_mode_groups is only used inside asus-wmi.c, make it static. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20220909210950.385398-1-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/asus-wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
index d95170b7dba0..ae46af731de9 100644
--- a/drivers/platform/x86/asus-wmi.c
+++ b/drivers/platform/x86/asus-wmi.c
@@ -835,7 +835,7 @@ static const struct attribute_group kbd_rgb_state_group = {
.attrs = kbd_rgb_state_attrs,
};
-const struct attribute_group *kbd_rgb_mode_groups[] = {
+static const struct attribute_group *kbd_rgb_mode_groups[] = {
NULL,
NULL,
NULL,