Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1417779rwb; Thu, 15 Dec 2022 09:51:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf7mP5aEIlYzEVDWHF1AAt5lF9D13+/IeLjNYWltqfVvvenQ8m+Ljeeew9NJzg3K2xhhgqxp X-Received: by 2002:a17:903:26c6:b0:189:6ab3:9e6e with SMTP id jg6-20020a17090326c600b001896ab39e6emr29066672plb.25.1671126675604; Thu, 15 Dec 2022 09:51:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671126675; cv=none; d=google.com; s=arc-20160816; b=q2SUEpPOHdnbJb4Zb8UjvizDDpz4nK9XLX4kHG+yelIYq9fg1UWuDnCNc1pFk4kKDo DWrWzWB81JeRHMIRbaYMhH716TzlSw6DmStR0u3WzojjonVzbc5dhXj9WWzEXBPhxAwX k3lgy5Ne17yYpYZw8NE0UrPNXWd9G0G9rDR2Q92GqpR/3vDja1jS5K7ncJRSknwIA3MI oHzEyIOqHLYeRFi8ypAvZcjI9MUtR6v8zkj96Aid6LBi8ZpIfiqrj6CE1pcMfSfMwQnt i0l7Zj9u5MZztHWiU9uumAAp1Pu/FpjO5zmnEl3q4sOYpk+Bcw73Fppv48OfsZs9Xoal ta0g== 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:dkim-signature; bh=C7KlsWVvBiOSJ1BtdadQpsv4bVXpn/V2i9G7wC3cRrs=; b=cqtZo0O7WtA4lHDweKPyvO4RB9IuRMjPaipu+debnXA2vCXSQC6upw9sfhTrm05n9G w8BpacgSXx+sDgGwSitbbg1t0I4z7GH2EOIoCOQzCfQSPOlgTVwWvNa/6gLnRSp7OMsn hvNw1UnK9Ax6LeVVN0II/XymCChO5NqhkB09nkSqcboh0PN+7/0l13CSc/aKAzK69O5N OFTYmVHBE1E6aobXje3eTWEStbFm28lqhpT+sAPSnESV/iKt3+KeMdbTxMpZT1tVSNZq ILnNaDZMihpljk6vXRYjp0mX6De0AynDjAgkUNCzJqtZkLcVw5RZEQ3YwPwFWg5ag1Zx TGWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LrDKRPEe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020a170903228300b00182c510591asi7193208plh.246.2022.12.15.09.51.07; Thu, 15 Dec 2022 09:51:15 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LrDKRPEe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230059AbiLOQqg (ORCPT + 68 others); Thu, 15 Dec 2022 11:46:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230286AbiLOQqd (ORCPT ); Thu, 15 Dec 2022 11:46:33 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE3C21D661; Thu, 15 Dec 2022 08:46:32 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5DEE761DE1; Thu, 15 Dec 2022 16:46:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E17A3C433EF; Thu, 15 Dec 2022 16:46:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671122791; bh=A2zo+YEzj0mCFsWZY3hiedXJIbbizcIeakCXEv54ohE=; h=From:To:Cc:Subject:Date:From; b=LrDKRPEe12gso8I2SvBntC/pI7NoJbNtlrgEo3CCmh0mc/lqWZcW3xgKCr6is0K6T 9lUYv42xu5J+puXNEqQM4wJsV2dh0SQEDX357DieOSofoQ4/4ldbr4oauLjRNwDyPT lkikrhIKCzBZ6KI3HuIuQoEN3UsHpAOEjWfk59lAvCd0MU/pttJ+uPJCjXa6VP38rk qUDLP1hyMShDP/wYLaRdcTN3WLSO5Z7vf7hRl7psErbQoqDpxrrMJSmjrNAaqOdea+ 4eV3w0fRv+sHQzSE7VthmIOvrPM8OLopLIEpluNEuVr26J4nRzs9CZlUQxo4e8LyQA ofB6/aFlR+Axw== From: Arnd Bergmann To: Dipen Patel , Thierry Reding , Jonathan Hunter Cc: Arnd Bergmann , Jiapeng Chong , Yang Yingliang , linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] hte: tegra: fix 'struct of_device_id' build error Date: Thu, 15 Dec 2022 17:46:19 +0100 Message-Id: <20221215164626.1209452-1-arnd@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 From: Arnd Bergmann Without the extra #include, this driver produces a build failure in some configurations. drivers/hte/hte-tegra194-test.c:96:34: error: array type has incomplete element type 'struct of_device_id' 96 | static const struct of_device_id tegra_hte_test_of_match[] = { Fixes: 9a75a7cd03c9 ("hte: Add Tegra HTE test driver") Signed-off-by: Arnd Bergmann --- drivers/hte/hte-tegra194-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hte/hte-tegra194-test.c b/drivers/hte/hte-tegra194-test.c index 5d776a185bd6..ce8c44e79221 100644 --- a/drivers/hte/hte-tegra194-test.c +++ b/drivers/hte/hte-tegra194-test.c @@ -6,6 +6,7 @@ */ #include +#include #include #include #include -- 2.35.1