From patchwork Wed Apr 5 20:27:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 670397 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 642CDC7619A for ; Wed, 5 Apr 2023 20:28:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234614AbjDEU2w (ORCPT ); Wed, 5 Apr 2023 16:28:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233419AbjDEU1z (ORCPT ); Wed, 5 Apr 2023 16:27:55 -0400 Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F0FA7DAD; Wed, 5 Apr 2023 13:27:33 -0700 (PDT) Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-17997ccf711so39964032fac.0; Wed, 05 Apr 2023 13:27:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680726452; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6TsRE4TQ/f8Cdh7WoRAUoCQ/ygs9RmxZbH2hBLQ+0B0=; b=IQE5xp2kvQOjiP7FAHC7Tj9VaUqF1SmKgt17RCjAMh9+Tm0JRZttIg1MQ+DWFKLMMz 8eqNtUsC8OXnZHbvRcBULv4ivxLdQIGVd/dvD+HapSKOCu0ygG3fYs3atcSUqafWvwWG P+NsXeSJZmN2xSlRd/At5JhRU2hJLKuecewUq9k2YG7V7dsLMB8Vst7RZ2sFBzysxxcl dOsViVDINsayhP+/PGgow64vHaGVV4yYnFYROLKi8XGBR/L4S3NjBYcqrujCfKUUKmij S3RMRwi1ElMALgo0y9tqjwYRJHEkFa/fEpu82UfJw56dJYre7L7P4PNtnWtY5bEt8lcx eoMA== X-Gm-Message-State: AAQBX9engr+t3DjVPop6nFWWQeISv2i5yqqVyrd1KZpKpxLoI/DH08ST fzoODIVKKeWnq/GFSkn5Pw== X-Google-Smtp-Source: AKy350YpAV4Ot9iJZkIzmYiWr5uOjLPTxFWn3uKDFPsohB5jBkFe6vSXLe2T2ZW1wyGq+/LUiLg3xw== X-Received: by 2002:a05:6870:d389:b0:17a:c2be:33c with SMTP id k9-20020a056870d38900b0017ac2be033cmr4333581oag.4.1680726452615; Wed, 05 Apr 2023 13:27:32 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id yx16-20020a056871251000b001762d1bf6a9sm6184930oab.45.2023.04.05.13.27.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 13:27:32 -0700 (PDT) Received: (nullmailer pid 425896 invoked by uid 1000); Wed, 05 Apr 2023 20:27:17 -0000 From: Rob Herring Date: Wed, 05 Apr 2023 15:27:23 -0500 Subject: [PATCH v2 09/10] fpga: lattice-sysconfig-spi: Add explicit include for of.h MIME-Version: 1.0 Message-Id: <20230329-acpi-header-cleanup-v2-9-c902e581923b@kernel.org> References: <20230329-acpi-header-cleanup-v2-0-c902e581923b@kernel.org> In-Reply-To: <20230329-acpi-header-cleanup-v2-0-c902e581923b@kernel.org> To: "Rafael J. Wysocki" , Len Brown , Marcelo Schmitt , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Greg Kroah-Hartman , Johannes Berg , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jiri Slaby , Thierry Reding , Jonathan Hunter , Marc Zyngier Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-serial@vger.kernel.org, linux-tegra@vger.kernel.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org, Stephen Rothwell , Jacob Keller X-Mailer: b4 0.13-dev Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org With linux/acpi.h (in spi/spi.h) no longer implicitly including of.h, add an explicit include of of.h to fix the following errors: drivers/fpga/lattice-sysconfig-spi.c:146:35: error: implicit declaration of function 'of_match_ptr' [-Werror=implicit-function-declaration] Reported-by: Stephen Rothwell Signed-off-by: Rob Herring --- v2: New patch --- drivers/fpga/lattice-sysconfig-spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/fpga/lattice-sysconfig-spi.c b/drivers/fpga/lattice-sysconfig-spi.c index 2702b26b7f55..44691cfcf50a 100644 --- a/drivers/fpga/lattice-sysconfig-spi.c +++ b/drivers/fpga/lattice-sysconfig-spi.c @@ -3,6 +3,7 @@ * Lattice FPGA programming over slave SPI sysCONFIG interface. */ +#include #include #include "lattice-sysconfig.h"