From patchwork Wed Feb 15 01:03:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 654295 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1F6CC64ED8 for ; Wed, 15 Feb 2023 01:03:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231701AbjBOBDo (ORCPT ); Tue, 14 Feb 2023 20:03:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231476AbjBOBDm (ORCPT ); Tue, 14 Feb 2023 20:03:42 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 251AF25BA3; Tue, 14 Feb 2023 17:03:38 -0800 (PST) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1676423017; bh=m4Mck/JTL5jieC/dSKQKpIQPgEjWz3XW6vNEwwtuGL4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=uEIyxsNajDOTQrHiiwLmdBsnTFY6EQ7lEsJHyNQyHsQYfQ4lgL6drmOVdnBBEiXtj KQ+rfeT2UiL5h5S8yuimquzQUhpbAteo+QtbI2tRNJFEVdlYgBKUcgREnVGBVF3fSC AEnNiFOdQEgLlEECZ98xcIFwcdDA6yN5gY4wo600= Date: Wed, 15 Feb 2023 01:03:34 +0000 Subject: [PATCH 1/4] HID: steelseries: explicitly include linux/leds.h MIME-Version: 1.0 Message-Id: <20230215-power_supply-leds-hid-v1-1-35b6f1dcee8a@weissschuh.net> References: <20230215-power_supply-leds-hid-v1-0-35b6f1dcee8a@weissschuh.net> In-Reply-To: <20230215-power_supply-leds-hid-v1-0-35b6f1dcee8a@weissschuh.net> To: Jiri Kosina , Benjamin Tissoires , Hans de Goede Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Tho?= =?utf-8?q?mas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1676423014; l=591; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=m4Mck/JTL5jieC/dSKQKpIQPgEjWz3XW6vNEwwtuGL4=; b=QRh0biAyvuEEU2uJXPJ1klXWhkaWYi6SqEigcOZWBHO2Q7OXzo7VyfxDOLumL9AIWa1J+h95t QovHvDU9M0XBC/3qjR2lmr6q+gu0ZObIIsmzo249VQLJ4w9BtIDD72b X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Instead of relying on an accidental, transitive inclusion of linux/leds.h use it directly. Signed-off-by: Thomas Weißschuh --- drivers/hid/hid-steelseries.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-steelseries.c b/drivers/hid/hid-steelseries.c index 37353c41cba7..aae3afc4107a 100644 --- a/drivers/hid/hid-steelseries.c +++ b/drivers/hid/hid-steelseries.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "hid-ids.h" From patchwork Wed Feb 15 01:03:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 654296 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 936EBC61DA4 for ; Wed, 15 Feb 2023 01:03:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232071AbjBOBDn (ORCPT ); Tue, 14 Feb 2023 20:03:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjBOBDm (ORCPT ); Tue, 14 Feb 2023 20:03:42 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2493D25B98; Tue, 14 Feb 2023 17:03:38 -0800 (PST) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1676423017; bh=QSEi72eS8D+vdc6SJvnTOOZ4a6yNzxJG6IsdhOBtBik=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=ruptiwcXPb+I/rhw/dQOykMzrFMNm3y3g3Be9L8Q/wNKgoLSJBE9O5NwaiBDGJssD 9l6fnbwYx7+FwvWxsfWUfhjJH3DfZOVWnd6oFZdKIK/jcscQqkSGCFBn6WZ2zVS7J0 bASp+m4VmuWjrbn3+NYjO85CG9YF+DZcMs34IJxo= Date: Wed, 15 Feb 2023 01:03:35 +0000 Subject: [PATCH 2/4] HID: lg-g15: explicitly include linux/leds.h MIME-Version: 1.0 Message-Id: <20230215-power_supply-leds-hid-v1-2-35b6f1dcee8a@weissschuh.net> References: <20230215-power_supply-leds-hid-v1-0-35b6f1dcee8a@weissschuh.net> In-Reply-To: <20230215-power_supply-leds-hid-v1-0-35b6f1dcee8a@weissschuh.net> To: Jiri Kosina , Benjamin Tissoires , Hans de Goede Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Tho?= =?utf-8?q?mas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1676423014; l=593; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=QSEi72eS8D+vdc6SJvnTOOZ4a6yNzxJG6IsdhOBtBik=; b=tpkYpRJdcMg6+RB6OCyyAY756/tHbXtVNBvpAcdob0EDMlWmFPvp7f83j80U1/BQca8LhYDro hpFBpRUUcdlC2Wn2l3RYOkCFCmwUwTXcvTCPuRNTdLFeVZx5sHJWW1o X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Instead of relying on an accidental, transitive inclusion of linux/leds.h use it directly. Signed-off-by: Thomas Weißschuh --- drivers/hid/hid-lg-g15.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-lg-g15.c b/drivers/hid/hid-lg-g15.c index c8f82bcbf1ab..acbec1dcf196 100644 --- a/drivers/hid/hid-lg-g15.c +++ b/drivers/hid/hid-lg-g15.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include From patchwork Wed Feb 15 01:03:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 653837 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 619AEC05027 for ; Wed, 15 Feb 2023 01:03:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229506AbjBOBDn (ORCPT ); Tue, 14 Feb 2023 20:03:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231701AbjBOBDm (ORCPT ); Tue, 14 Feb 2023 20:03:42 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 338F42CFCE; Tue, 14 Feb 2023 17:03:39 -0800 (PST) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1676423017; bh=Li0hjhbvXLPePnqQwW6xdVjfGKSx8hgUab67LUV5KtY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=lJHQ5k9enGdExUQ0hpuGHo4u0Vbsmd4MsHi1MPpnOOq14gCRvE224mjKTn+7cq7E7 FK3bKHHTu3F6l3sCXLT6zzk0n6od4iP8mg8AdWIVyIdZ50nSyUv8sOXqXPQzddyR9m 8RL0ttIFb+uJEzrTh2yrxIfK32FHAr1Fuws/ee/M= Date: Wed, 15 Feb 2023 01:03:36 +0000 Subject: [PATCH 3/4] HID: asus: explicitly include linux/leds.h MIME-Version: 1.0 Message-Id: <20230215-power_supply-leds-hid-v1-3-35b6f1dcee8a@weissschuh.net> References: <20230215-power_supply-leds-hid-v1-0-35b6f1dcee8a@weissschuh.net> In-Reply-To: <20230215-power_supply-leds-hid-v1-0-35b6f1dcee8a@weissschuh.net> To: Jiri Kosina , Benjamin Tissoires , Hans de Goede Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Tho?= =?utf-8?q?mas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1676423014; l=620; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=Li0hjhbvXLPePnqQwW6xdVjfGKSx8hgUab67LUV5KtY=; b=dNe3C/hc5X/YTM0StbGLg2jvPqaml1z/8KXaRro0Ha5oO6VklBYfgdm1nYZG3ay4/dvi045nc 5LfgwcgTlk+B0NZgf9N9mN3V8+f+TnkWanSrtlxAQscIpuXEun8HQML X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Instead of relying on an accidental, transitive inclusion of linux/leds.h use it directly. Signed-off-by: Thomas Weißschuh --- drivers/hid/hid-asus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c index f99752b998f3..44074c9efa00 100644 --- a/drivers/hid/hid-asus.c +++ b/drivers/hid/hid-asus.c @@ -30,6 +30,7 @@ #include #include /* For to_usb_interface for T100 touchpad intf check */ #include +#include #include "hid-ids.h" From patchwork Wed Feb 15 01:03:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 653836 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFCE0C64ED6 for ; Wed, 15 Feb 2023 01:03:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229483AbjBOBDp (ORCPT ); Tue, 14 Feb 2023 20:03:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232163AbjBOBDo (ORCPT ); Tue, 14 Feb 2023 20:03:44 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 253412CC42; Tue, 14 Feb 2023 17:03:38 -0800 (PST) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1676423017; bh=WLP/pGbieAiiW5bafuL21pEgA43jp4przTaPDhRdgPM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=e7TkhNQlnMiZrwBs/tXyXeudvUxNM4a5B7v7gz3ZzD66MY0V2wldYc5kfPz5EbuZy 1JcAPqkV2x+5yG6GRzINV/3Z8OWZYBUI0MpElhl++6SqJWmd+j30X0siAFRgf3bdO8 4he1I4t9KbYRzkvKZ7vXudXG1ntnAMJjcvEe07ZQ= Date: Wed, 15 Feb 2023 01:03:37 +0000 Subject: [PATCH 4/4] HID: apple: explicitly include linux/leds.h MIME-Version: 1.0 Message-Id: <20230215-power_supply-leds-hid-v1-4-35b6f1dcee8a@weissschuh.net> References: <20230215-power_supply-leds-hid-v1-0-35b6f1dcee8a@weissschuh.net> In-Reply-To: <20230215-power_supply-leds-hid-v1-0-35b6f1dcee8a@weissschuh.net> To: Jiri Kosina , Benjamin Tissoires , Hans de Goede Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Tho?= =?utf-8?q?mas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1676423014; l=561; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=WLP/pGbieAiiW5bafuL21pEgA43jp4przTaPDhRdgPM=; b=1QAMP6c9wXrTPPDdlgmyQXrsAdDmZY44VQ6ACWqRbWvH4w5+73MKFPmJJMmPen/ATOijm0356 RASOYkUxqVqC7Nk/rCuq93CJOGi3tMSHZFOSKCh6svoxiv8cGsmwnmJ X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Instead of relying on an accidental, transitive inclusion of linux/leds.h use it directly. Signed-off-by: Thomas Weißschuh --- drivers/hid/hid-apple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c index 1ccab8aa326c..c5b45cd1e44d 100644 --- a/drivers/hid/hid-apple.c +++ b/drivers/hid/hid-apple.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "hid-ids.h"