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"