From patchwork Tue May 2 04:28:44 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: 13228497 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 E8E38C77B7E for ; Tue, 2 May 2023 04:28:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233282AbjEBE2y (ORCPT ); Tue, 2 May 2023 00:28:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233151AbjEBE2y (ORCPT ); Tue, 2 May 2023 00:28:54 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5F5F273A; Mon, 1 May 2023 21:28:50 -0700 (PDT) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1683001728; bh=qFEajWvVlStRcKllCItBDHDpRzStSprf9+KoOJV74tA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=PM+IzfIt5/Z2JTAhnSub3LQITSndz4ruxbPKfwrIFZ7az2Bp0KLnzt6RLUznuMU7k NlFW+t+LCfEuYJCOo7UdXkNXpPKw9md+feY4pBnwJIo1Za1bFXgk5mYohPVbC0dwQJ I+trX8tC524rxT9j0ImOOsj1KriZNWRIVKp+YrNA= Date: Tue, 02 May 2023 06:28:44 +0200 Subject: [PATCH v2 1/2] HID: lg4ff: explicitly include linux/leds.h MIME-Version: 1.0 Message-Id: <20230212-include-power_supply-leds-v2-1-e9910a3f5837@weissschuh.net> References: <20230212-include-power_supply-leds-v2-0-e9910a3f5837@weissschuh.net> In-Reply-To: <20230212-include-power_supply-leds-v2-0-e9910a3f5837@weissschuh.net> To: Sebastian Reichel , Jiri Kosina , Benjamin Tissoires Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, kernel test robot , =?utf-8?q?T?= =?utf-8?q?homas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1683001727; l=714; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=qFEajWvVlStRcKllCItBDHDpRzStSprf9+KoOJV74tA=; b=YdHBbqFXjpQWMH67rf1otRSXNwuxB4SQ0KuepjxAIZMcH3bNVcaxs2Sg7kLD0ZUEtrDGFsGbX 8nYgxhwkz/RDHA52ziJiCIZ5kCogsQviBCw+UQ/ShkS+Gb+dPxVQ4rJ X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Instead of relying on an accidental, transitive inclusion of linux/leds.h use it directly. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202304301551.baBXvI9d-lkp@intel.com/ Signed-off-by: Thomas Weißschuh --- drivers/hid/hid-lg4ff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c index e3fcf1353fb3..d55d04c140b9 100644 --- a/drivers/hid/hid-lg4ff.c +++ b/drivers/hid/hid-lg4ff.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "usbhid/usbhid.h" #include "hid-lg.h"