Message ID | 20230329-acpi-header-cleanup-v1-2-8dc5cd3c610e@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp697777vqo; Wed, 29 Mar 2023 14:29:59 -0700 (PDT) X-Google-Smtp-Source: AKy350bJP/Vog3eWhzDENRF9LR4pVl2E1VuxrxdKYf6LapHNjTkLYhfF10brlsYmiqBXqAKFkbOa X-Received: by 2002:a17:90b:4a46:b0:22b:b832:d32 with SMTP id lb6-20020a17090b4a4600b0022bb8320d32mr22979085pjb.9.1680125399697; Wed, 29 Mar 2023 14:29:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680125399; cv=none; d=google.com; s=arc-20160816; b=C+sglynrs/NdxBdAs81AgORiRPGkfKLFAbKOREPegLJwm79MwjOQGS9R3QjakYacBY RbqLLAq1XB29iY9mFgz06rUpLWAlOGz1m+YTKeIXe36AgNoonv9IP4BHCOk7z++NAiW4 ZobwYXYtmt9VK46Eacdict5s10USPI1THyCjXBYSD4lPcHA+ue7oQ1hdrskIlsWBEX7e jPQPvt2x8+RNt8bVGW9g45dXCcuEddCigYxtG50WtAQP6aCtC62+393KYM3GRezxHBlA LsYW77XNds/dZmbBIQQkWPEi9vUVYq6g3b/KVI6lV1KCIemA6LiOjcUp6IPc7QWmoIdo 83Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=IXNpMlIrMI4hrwmIfNojDL6fBE+dcZw7V7KtUFtbAVU=; b=iRdm7k7wX6lijE0e+uA5szPjF5rHmCYainFtUvV6PDrJ85DMRPDO2ZJP3FrCmpfwvY n28u7Ufgn9WgcHdFQW67vlDSZfMAAnziRCl2nd7MRJJN0Bg9B6U49qfwbUAw7GtjMcng Dh6R3DuMHoQUNubfujXv/4imwieab623vC3B4+jHWTKZjvk+DyCaO8XSZY0HPqrxhaoW DTUS+jaR2Sc8bbVvLxX3kTBhjgqROWJwjkD40k2xjlc9txzd4ag+uhjHVcZKp8mcwQsI J2hJplzmY0R4iNIwJ3nU/4aV8g2bp0LmsLAyM81yDZaY6ckAbc69EyEkAWbjD96G45FQ ojuA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ml5-20020a17090b360500b0023d1684ce14si2105832pjb.182.2023.03.29.14.29.45; Wed, 29 Mar 2023 14:29:59 -0700 (PDT) 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230144AbjC2VWB (ORCPT <rfc822;rua109.linux@gmail.com> + 99 others); Wed, 29 Mar 2023 17:22:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229944AbjC2VVt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 29 Mar 2023 17:21:49 -0400 Received: from mail-oa1-f49.google.com (mail-oa1-f49.google.com [209.85.160.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20C1F1FD2; Wed, 29 Mar 2023 14:21:48 -0700 (PDT) Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-177b78067ffso17698197fac.7; Wed, 29 Mar 2023 14:21:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680124907; 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=IXNpMlIrMI4hrwmIfNojDL6fBE+dcZw7V7KtUFtbAVU=; b=BFNAsqzoRwvPwl70atBgXzz4mok4p6VIQcQzSvuWqsLddlFOTM1QwwJ1lf974CkM1y g8C/IrS/FQ7UlprkUFEYv7qZgl6bM4K+aYvef7DNKjGYRPXXNu5365SnwU3e/WuGd37I MyELQ17LOh9MQhivgXz0ofIjq+BmlvRLbd/EuyLB2yDHDlQ7R3dFLYmGUpDE46i9jllg ZpEtYbYrBUWhXq+xtqUOhTutZf31PvfoWY63RF7bjj4WsmJGAHctz8jnBhJ6gE8784di hzTYfF+77Ivc2mN50sq1HeibanvXpq5X9UrKFQhvE+8Muh9XMPWeM+8O1Hb10b2kpMmV +9eQ== X-Gm-Message-State: AO0yUKVvTa2K1nTxbplLGzPMOVA95WXDpXDOAmcLQWHxhTMjg/98zJip OV5knpFA8mZCcyY3wXRxRw== X-Received: by 2002:a05:6870:1693:b0:172:7fc0:9188 with SMTP id j19-20020a056870169300b001727fc09188mr11799906oae.35.1680124907393; Wed, 29 Mar 2023 14:21:47 -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 k29-20020a05687022dd00b0017e7052ed84sm8402484oaf.41.2023.03.29.14.21.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 14:21:46 -0700 (PDT) Received: (nullmailer pid 86893 invoked by uid 1000); Wed, 29 Mar 2023 21:21:39 -0000 From: Rob Herring <robh@kernel.org> Date: Wed, 29 Mar 2023 16:20:43 -0500 Subject: [PATCH 2/5] staging: iio: resolver: ad2s1210: Add explicit include for of.h MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230329-acpi-header-cleanup-v1-2-8dc5cd3c610e@kernel.org> References: <20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org> In-Reply-To: <20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org> To: "Rafael J. Wysocki" <rafael@kernel.org>, Len Brown <lenb@kernel.org>, Marcelo Schmitt <marcelo.schmitt1@gmail.com>, Lars-Peter Clausen <lars@metafoo.de>, Michael Hennerich <Michael.Hennerich@analog.com>, Jonathan Cameron <jic23@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Johannes Berg <johannes@sipsolutions.net>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Jiri Slaby <jirislaby@kernel.org>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Marc Zyngier <maz@kernel.org> 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 X-Mailer: b4 0.13-dev X-Spam-Status: No, score=0.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761739171068556272?= X-GMAIL-MSGID: =?utf-8?q?1761739171068556272?= |
Series |
Remove acpi.h implicit include of of.h
|
|
Commit Message
Rob Herring
March 29, 2023, 9:20 p.m. UTC
With linux/acpi.h no longer implicitly including of.h, add an explicit
include of of.h to fix the following error:
drivers/staging/iio/resolver/ad2s1210.c:706:21: error: implicit declaration of function 'of_match_ptr' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
Signed-off-by: Rob Herring <robh@kernel.org>
---
drivers/staging/iio/resolver/ad2s1210.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/iio/resolver/ad2s1210.c b/drivers/staging/iio/resolver/ad2s1210.c index e4cf42438487..eb364639fa58 100644 --- a/drivers/staging/iio/resolver/ad2s1210.c +++ b/drivers/staging/iio/resolver/ad2s1210.c @@ -7,6 +7,7 @@ #include <linux/types.h> #include <linux/mutex.h> #include <linux/device.h> +#include <linux/of.h> #include <linux/spi/spi.h> #include <linux/slab.h> #include <linux/sysfs.h>