Skip to content
Commit 0b7dd38c authored by Ryan McClelland's avatar Ryan McClelland Committed by Jiri Kosina
Browse files

HID: nintendo: fix initializer element is not constant error



With gcc-7 builds, an error happens with the controller button values being
defined as const. Change to a define.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312141227.C2h1IzfI-lkp@intel.com/



Signed-off-by: default avatarRyan McClelland <rymcclel@gmail.com>
Reviewed-by: default avatarDaniel J. Ogorchock <djogorchock@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
parent df83a0df
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