Skip to content

Commit

Permalink
platform/x86: asus-wmi: Make kbd_rgb_mode_groups static
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Hans de Goede committed Sep 10, 2022
1 parent 072aba5 commit 7318b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/asus-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7318b61

Please sign in to comment.