From patchwork Thu Mar 9 13:52:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 66885 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp324884wrd; Thu, 9 Mar 2023 06:38:01 -0800 (PST) X-Google-Smtp-Source: AK7set+ii0aEy9v/IOLVkzxWSO3m+kIdot6MPy64ICqItG63NqGgIHluURDnqIrHvGxElb5H80o6 X-Received: by 2002:a17:90b:3ecc:b0:23a:8d71:99d with SMTP id rm12-20020a17090b3ecc00b0023a8d71099dmr18812745pjb.22.1678372680774; Thu, 09 Mar 2023 06:38:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678372680; cv=none; d=google.com; s=arc-20160816; b=0+x/RdMQTMBVM0ZFXZ4kHy/hblWGou1vZ6Nab6BADrSZyWpLoUXOUvrxfCACyvlwEa 9Va92HWH3KBH/ETjE6tEQt7LwQfnv5hZ0VILIEk0n4ZsZjoc6RdHBjQ3HABOFjSXBKFm faOUPI4wgdwVKeDSvv7KDI87KbWuyNTvg8oXWWNZo/5M7FOKIqCgEbvaqbxns0/NWJrq mu0pc5i0fPMILyntYS89H1oUOl4w0IN+Nn48ZYMDJlnXrVtJxK+js679vGFTKsa0lvtA 8w1o2ps7oyvXHSdP95EUF7S8ybEVhPsBrR0gCXYak/50rYCelzoMunbSz1QKZtdVkWlT muOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=czGKdmS3LUwYnuDnW+ZnNh5jcboy9b/0ZAG274JbvaM=; b=G8ZGXrHFb+CXlqBAl9sSvKonoiq/t4YQ3brSNTsHVdVXQsE1HT93sLd0wQLQ//Bjys Nck67vly7mFAbQ5b+edpQxT65RJ52vSbPPGwl/3GZXs5ZObhyuSyE3iag8oZIYYsRtf3 7g+hAWowzlBhKOSDkgpCfSnIoVgfms1lNg7zYHmJqu0/YYS9nLERSxCIyji/fbC+hRgR ZgkY8Uga6CVvd+DkTkRGo8pbHQ9siFf2d8HPTl8uhj4Mn73sHkclEmOKyhoMv1J/LNa7 2J11NfCHcDQ3qMY9IUiIAIkHC5pbpXjLKMXteTCMAci59gkiTIbn0C7lkB1bSFpgmSQj /qyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s14-20020a17090a764e00b002375a3ccf51si49852pjl.9.2023.03.09.06.37.48; Thu, 09 Mar 2023 06:38:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231452AbjCINxd (ORCPT + 99 others); Thu, 9 Mar 2023 08:53:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231370AbjCINxD (ORCPT ); Thu, 9 Mar 2023 08:53:03 -0500 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79A9E23DBE for ; Thu, 9 Mar 2023 05:53:00 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:3a77:63e:b168:ae06]) by baptiste.telenet-ops.be with bizsmtp id WDsw2900754Hw2A01DswFl; Thu, 09 Mar 2023 14:52:56 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1paGgv-00BKoW-Iy; Thu, 09 Mar 2023 14:52:56 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1paGhU-00GCVN-3q; Thu, 09 Mar 2023 14:52:56 +0100 From: Geert Uytterhoeven To: Linus Walleij , Andy Shevchenko Cc: Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , linux-gpio@vger.kernel.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Linux Kernel Functional Testing Subject: [PATCH] sh: mach-x3proto: Add missing #include Date: Thu, 9 Mar 2023 14:52:55 +0100 Message-Id: <20230309135255.3861308-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, TVD_SPACE_RATIO autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759898985408024534?= X-GMAIL-MSGID: =?utf-8?q?1759901312302217883?= shx3_defconfig: arch/sh/boards/mach-x3proto/setup.c: In function ‘x3proto_devices_setup’: arch/sh/boards/mach-x3proto/setup.c:246:62: error: invalid use of undefined type ‘struct gpio_chip’ 246 | baseboard_buttons[i].gpio = x3proto_gpio_chip.base + i; | ^ Reported-by: Linux Kernel Functional Testing Link: https://lore.kernel.org/r/CA+G9fYs7suzGsEDK40G0pzxXyR1o2V4Pn-oy1owTsTWRVEVHog@mail.gmail.com Fixes: 21d9526d13b5467b ("gpiolib: Make the legacy consumer-only") Signed-off-by: Geert Uytterhoeven --- arch/sh/boards/mach-x3proto/setup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sh/boards/mach-x3proto/setup.c b/arch/sh/boards/mach-x3proto/setup.c index 95b85f2e13dda75b..7f39fca95e57a109 100644 --- a/arch/sh/boards/mach-x3proto/setup.c +++ b/arch/sh/boards/mach-x3proto/setup.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include