From patchwork Wed Apr 5 20:27:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 670746 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 D57A4C76188 for ; Wed, 5 Apr 2023 20:27:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229731AbjDEU1s (ORCPT ); Wed, 5 Apr 2023 16:27:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231804AbjDEU1Z (ORCPT ); Wed, 5 Apr 2023 16:27:25 -0400 Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9087F6A4E; Wed, 5 Apr 2023 13:27:24 -0700 (PDT) Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-17e140619fdso39908039fac.11; Wed, 05 Apr 2023 13:27:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680726444; 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=yg1K4foqDaidaPo4/5C6TY3pSXqX5fHqLYuPmpMmEgg=; b=BYa0WEarrsDeVoxsCZAbMJe53T4FjZgjm7/eseO9AduGQyxtKk1kk83suhMUUpDsEV IUW7EqrNdikKRDGKMz8tQmAKiURxg1SP34d19kQTPLHELHHb7AlzlgpLbTMBs71l2bB+ pOf4dPAFgHEZB9kgDjWc7IOUorbz2AZXswFXjpWrS1dzsWnK7rqEQ04a4sGjlaUbWDYe nva86QTMH+EEWzDOC4g4WxVUdABCj3xeooC5DgKYDkqaS4VFZCnNnFkua51CjYBqeyiq gXgMkPAUufe0XdbhJIP6bzqKtsiGLvL+HR4dk7if26FJHcmODsoWfyslLvra7ovTO/id mOEw== X-Gm-Message-State: AAQBX9dx6yOuPhIf/Jv2OJNiXlcceGH4Vu1ifGxDErSgsbhUk5LMppbb gNrsssk0WWJSVHFSslhynw== X-Google-Smtp-Source: AKy350bTANSJNYjcjMqwec2FcT3JaHREFNy2cg8JiUp8B+fT5fTAH8S+FermWNwrA9+XTX/0poqDFg== X-Received: by 2002:a05:6870:9614:b0:177:9ece:6b32 with SMTP id d20-20020a056870961400b001779ece6b32mr4080421oaq.34.1680726443848; Wed, 05 Apr 2023 13:27:23 -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 us16-20020a056870df9000b00177b33ce85bsm6324810oab.30.2023.04.05.13.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 13:27:23 -0700 (PDT) Received: (nullmailer pid 425880 invoked by uid 1000); Wed, 05 Apr 2023 20:27:17 -0000 From: Rob Herring Date: Wed, 05 Apr 2023 15:27:15 -0500 Subject: [PATCH v2 01/10] iio: adc: ad7292: Add explicit include for of.h MIME-Version: 1.0 Message-Id: <20230329-acpi-header-cleanup-v2-1-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 , Jonathan Cameron X-Mailer: b4 0.13-dev Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org With linux/acpi.h no longer implicitly including of.h, add an explicit include of of.h to fix the following error: drivers/iio/adc/ad7292.c:307:9: error: implicit declaration of function 'for_each_available_child_of_node'; did you mean 'fwnode_for_each_available_child_node'? [-Werror=implicit-function-declaration] Acked-by: Jonathan Cameron Acked-by: Marcelo Schmitt Reviewed-by: Jacob Keller Reviewed-by: Greg Kroah-Hartman Signed-off-by: Rob Herring --- drivers/iio/adc/ad7292.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/adc/ad7292.c b/drivers/iio/adc/ad7292.c index a2f9fda25ff3..cccacec5db6d 100644 --- a/drivers/iio/adc/ad7292.c +++ b/drivers/iio/adc/ad7292.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include From patchwork Wed Apr 5 20:27:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 670744 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 5B5C1C77B76 for ; Wed, 5 Apr 2023 20:29:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234703AbjDEU27 (ORCPT ); Wed, 5 Apr 2023 16:28:59 -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 ); 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-Google-Smtp-Source: AKy350bI8AMWkdrGldN0+D8908pDqGR1ET11ahdL00A7ibOfslvb7UH0SkDNaAc8yDfybKU8oRjiXg== 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 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 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" , 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 , Jonathan Cameron X-Mailer: b4 0.13-dev Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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 Reviewed-by: Jacob Keller Reviewed-by: Greg Kroah-Hartman Signed-off-by: Rob Herring --- 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 #include #include +#include #include #include #include From patchwork Wed Apr 5 20:27:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 670745 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 ABBB3C77B6C for ; Wed, 5 Apr 2023 20:28:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234302AbjDEU2O (ORCPT ); Wed, 5 Apr 2023 16:28:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234305AbjDEU1i (ORCPT ); Wed, 5 Apr 2023 16:27:38 -0400 Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B113A7A9F; Wed, 5 Apr 2023 13:27:31 -0700 (PDT) Received: by mail-ot1-f43.google.com with SMTP id x8-20020a9d3788000000b0069f922cd5ceso19685632otb.12; Wed, 05 Apr 2023 13:27:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680726451; 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=JEWSD1fDMkPcJVVJWl/niMBCZ1+LVTX0zVxuNNm1m3A=; b=tgYmdyf87EhXuCw4Afkrg7PNPyMg7GFktqIz9RZg1IW3rOH669LTmUSIn5RZpIzRA+ I0r6bF0er6vzx8fcElarE6rcbaXNxx/WMFUcXgvYVR7lTCyUmXqLfIeaNE6mNBo3NTco qFkllL8XZjKOyf1xy0Zf/XtxXxvwtQUDPHHLoIODWZwzMmSXhakfi6GWSP4vU7BA1J+g /ueQp0R5i/SspKNMCgund8pubr5lD+0rz6L9zNIl3+fGOedircuxFJ0FKUD5XyeTRCLD zRZDG11/rl5Xiq3iUH8dLPl1S/TGodneMYEH7ie3y8ge/n8Nh6YQ/qEupw5ZRxY4NPEg 6+Ag== X-Gm-Message-State: AAQBX9e/rOe3/XGRW9kKPygOyeSGcR7ZDUrgmf9Esu5J3Gbjq3dKo+4J OLf+nTXXvaw/SbubFDLnNA== X-Google-Smtp-Source: AKy350ZaKRbNw5BVz8JUbstjxm9/rqgC8dw7YeQcDPRMSjLceOYL23HZjUhfc7B3LKhXZbj89AVs5g== X-Received: by 2002:a9d:1b4d:0:b0:6a1:6a4b:bbb3 with SMTP id l71-20020a9d1b4d000000b006a16a4bbbb3mr1662878otl.14.1680726450887; Wed, 05 Apr 2023 13:27:30 -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 x9-20020a05683000c900b006a30260ccfdsm5958075oto.11.2023.04.05.13.27.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 13:27:30 -0700 (PDT) Received: (nullmailer pid 425884 invoked by uid 1000); Wed, 05 Apr 2023 20:27:17 -0000 From: Rob Herring Date: Wed, 05 Apr 2023 15:27:17 -0500 Subject: [PATCH v2 03/10] net: rfkill-gpio: Add explicit include for of.h MIME-Version: 1.0 Message-Id: <20230329-acpi-header-cleanup-v2-3-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-wireless@vger.kernel.org With linux/acpi.h no longer implicitly including of.h, add an explicit include of of.h to fix the following error: net/rfkill/rfkill-gpio.c:181:21: error: implicit declaration of function 'of_match_ptr' is invalid in C99 [-Werror,-Wimplicit-function-declaration] Acked-by: Johannes Berg Reviewed-by: Jacob Keller Reviewed-by: Greg Kroah-Hartman Signed-off-by: Rob Herring --- net/rfkill/rfkill-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c index 786dbfdad772..e9d1b2f2ff0a 100644 --- a/net/rfkill/rfkill-gpio.c +++ b/net/rfkill/rfkill-gpio.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include From patchwork Wed Apr 5 20:27:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 670748 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 49C7FC7619A for ; Wed, 5 Apr 2023 20:27:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232902AbjDEU1a (ORCPT ); Wed, 5 Apr 2023 16:27:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233498AbjDEU1W (ORCPT ); Wed, 5 Apr 2023 16:27:22 -0400 Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8744B4C31; Wed, 5 Apr 2023 13:27:21 -0700 (PDT) Received: by mail-oo1-f53.google.com with SMTP id l7-20020a4abe07000000b0053e1205c84bso5501160oop.9; Wed, 05 Apr 2023 13:27:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680726441; 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=ZTd63roJHw5mw81KozXO6U7HxEiOyCu7wEaX62Cvsk0=; b=zIyp0XMrX9lNjeNnkgfp0G+yO5uzO3q02Ofy4TlkNgRiibFv/c/J8PE+xXWngi/M9/ FECqI4o+Rd+iApzYHhW/EHgqIikDE4dcsa1NVCW9QovhTgz78w3nQ4PnSLqECo/BhP4C 6z9oaVyRYoTB8H5Mlp7HiSFJcefCWt6sO3YMvOOMog3622MWI07zoL4K7hGbyp8hfSWw Sem9noMLSp864G8qzxh93FPHJ5yzNb5XYl37gj/igx033iNPB8GGulSXUbumEJlFeA+g m4Hy/LameokPRCKw3OkNn9KhuUBuccm4JXjwmINRb9DHambifLOUDfRIy//b496NixmT p6sQ== X-Gm-Message-State: AAQBX9cWqMIEGC2KbuXc3domQ5c9H20ayW6xqOiqfoeRuj9NHaGW69YU 1HX/R7awocLwcFJUDyoTnA== X-Google-Smtp-Source: AKy350bDkD0JNoIZyIKw2Up57YVo9+K3U0A02eldxdq99WmvxpM4xVMH9LB8cYU9pwfCYpADQ4amIA== X-Received: by 2002:a4a:2cd4:0:b0:536:584c:eb1f with SMTP id o203-20020a4a2cd4000000b00536584ceb1fmr3187633ooo.2.1680726440668; Wed, 05 Apr 2023 13:27:20 -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 f1-20020a4ab001000000b0051aa196ac82sm7103369oon.14.2023.04.05.13.27.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 13:27:20 -0700 (PDT) Received: (nullmailer pid 425890 invoked by uid 1000); Wed, 05 Apr 2023 20:27:17 -0000 From: Rob Herring Date: Wed, 05 Apr 2023 15:27:20 -0500 Subject: [PATCH v2 06/10] pata: ixp4xx: Add explicit include for of.h MIME-Version: 1.0 Message-Id: <20230329-acpi-header-cleanup-v2-6-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-wireless@vger.kernel.org With linux/acpi.h no longer implicitly including of.h, add an explicit include of of.h to fix the following error: drivers/ata/pata_ixp4xx_cf.c:258:15: error: implicit declaration of function 'of_property_read_u32_index'; did you mean 'fwnode_property_read_u32_array'? [-Werror=implicit-function-declaration] Reported-by: Stephen Rothwell Signed-off-by: Rob Herring --- v2: New patch --- drivers/ata/pata_ixp4xx_cf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c index e225913a619d..113087665832 100644 --- a/drivers/ata/pata_ixp4xx_cf.c +++ b/drivers/ata/pata_ixp4xx_cf.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include From patchwork Wed Apr 5 20:27:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 670747 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 B4555C76188 for ; Wed, 5 Apr 2023 20:27:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233961AbjDEU1m (ORCPT ); Wed, 5 Apr 2023 16:27:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233955AbjDEU1a (ORCPT ); Wed, 5 Apr 2023 16:27:30 -0400 Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 645E176A9; Wed, 5 Apr 2023 13:27:26 -0700 (PDT) Received: by mail-oi1-f181.google.com with SMTP id bx42so12025182oib.6; Wed, 05 Apr 2023 13:27:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680726445; 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=amARnlOF1iPOroaq57gvCO3EUIjXtRKKLgV+BAa7GyA=; b=oNWBdf+LJQeupNotyx3roKGHF2oYc0YiILjtkYmJvehMr5/wxkeHGosGb0bTzOweuA 4h8IGp9M7u3BekL8X8G4FUjRKMAcSjxzvZ8fIQiSAantTZmAgubAz4pybtH6B0wVT9FQ GBL6s8eNhlYr0Ctr0OHe5BDj0wHD90vKOwsln7BUj7mdxVfAB6pJHrWtftd03uMNox8L 31feFQEogsD9Nbs6HRHghcdTc9m3FPT4aTtXCPxo/qNZqXYBLnsFcDVolwAOI+5+0CVT 4nT6nzUuGy0558tTyOvbRsE2zw3WbbY7MbQBC2HUr0c7JkiZxn/CVCfH7JzA4Bb+c+Xi O5dw== X-Gm-Message-State: AAQBX9eZrNhhLYHSF/kMOFlWdWlq+TwT9Ek0wE0TDpmidHb8oeltfidp dD7qxUlKiG6/Pf0WgcW1ZQ== X-Google-Smtp-Source: AKy350ajTaLy0qTbb9yH+lxLfyhHHpsFZm2vXmFygDhy0JelJ9qq76gGsOP0SKY6SaEK7ABF4E+UaA== X-Received: by 2002:a05:6808:1a09:b0:389:4f05:5fa8 with SMTP id bk9-20020a0568081a0900b003894f055fa8mr1613117oib.9.1680726445531; Wed, 05 Apr 2023 13:27:25 -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 r204-20020acadad5000000b00383eaf88e75sm6759620oig.39.2023.04.05.13.27.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 13:27:25 -0700 (PDT) Received: (nullmailer pid 425898 invoked by uid 1000); Wed, 05 Apr 2023 20:27:17 -0000 From: Rob Herring Date: Wed, 05 Apr 2023 15:27:24 -0500 Subject: [PATCH v2 10/10] ACPI: Replace irqdomain.h include with struct declarations MIME-Version: 1.0 Message-Id: <20230329-acpi-header-cleanup-v2-10-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-wireless@vger.kernel.org linux/acpi.h includes irqdomain.h which includes of.h. Break the include chain by replacing the irqdomain include with forward declarations for struct irq_domain and irq_domain_ops which is sufficient for acpi.h. of.h also includes mod_devicetable.h which many drivers implicitly depend on. As acpi.h already includes it, just move it out of the '#ifdef CONFIG_ACPI'. Cc: Marc Zyngier Reviewed-by: Jacob Keller Reviewed-by: Greg Kroah-Hartman Signed-off-by: Rob Herring --- v2: - Move mod_devicetable.h out of #ifdef --- include/linux/acpi.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index efff750f326d..96bd672dc336 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -10,12 +10,15 @@ #include #include /* for struct resource */ -#include #include #include +#include #include #include +struct irq_domain; +struct irq_domain_ops; + #ifndef _LINUX #define _LINUX #endif @@ -24,7 +27,6 @@ #ifdef CONFIG_ACPI #include -#include #include #include #include