File 0002-hid-nintendo-added-LED_FUNCTION_PLAYER-define.patch of Package hid-nintendo

From d37cb6a7e81eb3975e9236395f40241236d68087 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= <sp1ritCS@protonmail.com>
Date: Fri, 13 Aug 2021 23:00:03 +0200
Subject: [PATCH 2/2] hid-nintendo: added LED_FUNCTION_PLAYER define
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

this is defined in include/dt-bindings/leds/common.h in Daniel
Ogorchock's tree, but it isn't upstreamed yet. This workarround can be
removed once it is.
See: https://github.com/DanielOgorchock/linux/commit/27b108d6d4e8aca097bb1b4d15358c9d635458cf

Signed-off-by: Florian "sp1rit"‚Äč <sp1ritCS@protonmail.com>
---
 hid-nintendo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hid-nintendo.c b/hid-nintendo.c
index 32c2fb1..7774867 100644
--- a/hid-nintendo.c
+++ b/hid-nintendo.c
@@ -23,6 +23,7 @@
  */
 
 #define CONFIG_NINTENDO_FF 1
+#define LED_FUNCTION_PLAYER "player"
 
 #include "hid-ids.h"
 #include <asm/unaligned.h>
-- 
2.32.0

openSUSE Build Service is sponsored by