Message ID | 20230329-acpi-header-cleanup-v2-2-c902e581923b@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 b10csp573768vqo; Wed, 5 Apr 2023 13:32:55 -0700 (PDT) X-Google-Smtp-Source: AKy350bmuq70OeLVHB1+wzLosCD5YsyeOI4MIADpC2CakwPnY7U35uvBLFnUZ9VdPij5gumfTJb8 X-Received: by 2002:a17:902:ce8f:b0:19a:aaac:f4d1 with SMTP id f15-20020a170902ce8f00b0019aaaacf4d1mr3981108plg.13.1680726774933; Wed, 05 Apr 2023 13:32:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680726774; cv=none; d=google.com; s=arc-20160816; b=HsR6KUK24iKRjh8HVLm1LDxJq1tNVyNZkotWxLAOKygpcDAXsxQMWpuZbQKS8yiGQ/ LAavcC2VrkLTPehgXZOPRUeBybp+Wvy57p0AsxG9e8+zkzG+mtD6zXScW+1tOQQnJ3v5 2g1mrDe5x/1qXKmNXdI8+McicokIEdVhjD+SkRoWDqR5UVZjphH73AImRCYjSojPtSLG 9H2DJaNgyG4p5xmEqDm+d7n1G4OQSiDFSwWG9Mo3btYkcEF9FTbA+Na+CDO5THQY7FCw 0ZRON0eJdLu+CM50W+DiRxFXjsWUEKIgfGZyDW6e3jioNp9IT7t2r6UVtpetNv7wSWmd BZWg== 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=M3RPX6uXfMIMJJoqXF0tDH6hb5w2/i4ololX+IM3luY=; b=oUJK+kWW2MWooRh4Lb54YIO4YzUCJ1mN15d4pnB2zr0ju3zYQUsTBdf6zulD+krfCe IsXwrKkloiN0DcSUC3wHQM2YFftfbJ4ezaov+XuizgOcn+8aiLsjbSB5OW+3QJeuzYIM 02fxT/Q40DB4svOoIo9EK+ekE7lAETGK0LSe8zqcTga5DzjP9Qh28iPfVtpDgyxNSQek FKCqv5bN0WFc9ewIKucZSjBaOGHPjHUx6NGY0dxzmHBwUjoRHwfTVjwO0bX0DUlGAyef CR5+b/cu/9D6DFS1juVc63KQHkvMjDncP+lOiYzB8JFXOPspQVBFZhmmD1PBS3MMn3+C jFRQ== 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 c16-20020a170902d49000b0019e30e492b3si13679359plg.200.2023.04.05.13.32.40; Wed, 05 Apr 2023 13:32:54 -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 S234488AbjDEU3E (ORCPT <rfc822;lkml4gm@gmail.com> + 99 others); Wed, 5 Apr 2023 16:29:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234484AbjDEU14 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 5 Apr 2023 16:27:56 -0400 Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 113177D86; Wed, 5 Apr 2023 13:27:35 -0700 (PDT) Received: by mail-oi1-f178.google.com with SMTP id w13so16192369oik.2; Wed, 05 Apr 2023 13:27:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680726454; 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=M3RPX6uXfMIMJJoqXF0tDH6hb5w2/i4ololX+IM3luY=; b=eRvPGSDPk0eYcbCBoUZioqpkzlgwsr9Gd9JlALmAh7TsefW2MY4+6RERgH5Ws3hBfm xkIRDHB75IQvmeX4AnYf8Fo5nOvRGyAieYph0NNMVCnoI2Sd/UPS4TC1AFssr6V+NDei cGZRdtHSUlar65kQWvPyTGmz8Ooia2zZ3uHEbi8yg1k/v6uWvDAbVxcv/yi9zjCM/On+ y+ZJ830tDbrnPbFN2c/BoTEW2IgA18NOUvFXXtzVF8AqMETDMRR+x69S/nFXH+YENVPo DHA3x3OGzvG91rr6nqyH99OaACBYUl+gzGytuLG27EigBW4bc6BjnbQVVsCKlJ1OfON5 0iYQ== X-Gm-Message-State: AAQBX9fA3UAvWtYnYG4XJJlNIzOa2mA7Pp43kzHKJpnNJ4smSNaPnjoO HWQjDfyueCwLs2imZtAacw== X-Received: by 2002:aca:bf05:0:b0:389:7fcc:75f0 with SMTP id p5-20020acabf05000000b003897fcc75f0mr1690469oif.25.1680726454290; Wed, 05 Apr 2023 13:27:34 -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 u1-20020a4a9e81000000b0053b909a5229sm7112025ook.4.2023.04.05.13.27.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 13:27:33 -0700 (PDT) Received: (nullmailer pid 425882 invoked by uid 1000); Wed, 05 Apr 2023 20:27:17 -0000 From: Rob Herring <robh@kernel.org> Date: Wed, 05 Apr 2023 15:27:16 -0500 Subject: [PATCH v2 02/10] 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-v2-2-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" <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, Stephen Rothwell <sfr@canb.auug.org.au>, Jacob Keller <jacob.e.keller@intel.com>, Jonathan Cameron <Jonathan.Cameron@huawei.com> X-Mailer: b4 0.13-dev X-Spam-Status: No, score=0.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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?1762369758897047112?= X-GMAIL-MSGID: =?utf-8?q?1762369758897047112?= |
Series |
Remove acpi.h implicit include of of.h
|
|
Commit Message
Rob Herring
April 5, 2023, 8:27 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] Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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>