From patchwork Wed Apr 5 20:27:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 7779 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp577076vqo; Wed, 5 Apr 2023 13:39:42 -0700 (PDT) X-Google-Smtp-Source: AKy350YBjaWgZhTIJvFIPx4w2LafPXjy4CJkdYq2dsaEzHupyRFEGDFZiXnk0plRq8cU5udRiSBs X-Received: by 2002:a17:906:a00b:b0:930:60ba:d4b with SMTP id p11-20020a170906a00b00b0093060ba0d4bmr4409781ejy.37.1680727182319; Wed, 05 Apr 2023 13:39:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680727182; cv=none; d=google.com; s=arc-20160816; b=sEae11RCrWUn5WOze8GzXwO4/fAP8NkgRq+pWl5jZQwTDRf12FdFKVh3Dw9pNR3owp EkjUf9eXsstZImpfm73NtL2I3PgTtaHDrcM4DZKBJxZJdQ06oTYg9pSUcP0362//+G3+ ot717ECYklzcfI12M3c0qzPOd82M4FuMJV+HFRo7iUWujqWidsm4/QNomSXJwuuOniBf tOevHJOov07I66tVBxL+8L+bNoRwDraPkCPWc08gD8HleZtmAqU8E8aN44JHravFuPGH 3FGvmv+DwFitqQjBndChXXzcnQQAJjn7vwMc683f8ZmimQ+yaLVzxY1EVEYBToWLKMYW Ti4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from; bh=jhywZUom6FVbbnxuIEEwYSdDwpixbUY1lehHpDBSgWw=; b=pyj67mmGnP9mC3AkkArRxIvqN5lAXCwKRa/eK+9IhyxRPWuHxbW/4MZBLDDvZljjIT 5tRW0e+vu4sKtFAdCPh8dyDJqI7zumPiuAKr5bj1O/MqPlZlzLRYh6GchTjIRBVjbYlU 4N4mulobPOQ21Xjc19+03AEaYRYfqwL7bvYa8Y8n9xE7BVEsrd+qz+zaszZ8HL40C8HC Ozw6D13GX2u5jv1X6v9RelQZwNVYYm1f7W26QmLTxbdovIk0kw5fw+M++Ha7BzL8/og2 EYR3gHoZtc+fnxv3TBokx4YMmyC52XUg8pj1hNm8wlw9mJlLO2u6xk2Pd4tnGlXjVpCk gKXg== 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 e15-20020a170906c00f00b00929b68ef0besi13428130ejz.934.2023.04.05.13.39.17; Wed, 05 Apr 2023 13:39:42 -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 S233470AbjDEU1W (ORCPT + 99 others); Wed, 5 Apr 2023 16:27:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbjDEU1U (ORCPT ); Wed, 5 Apr 2023 16:27:20 -0400 Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E77C14C31; Wed, 5 Apr 2023 13:27:19 -0700 (PDT) Received: by mail-ot1-f50.google.com with SMTP id cm7-20020a056830650700b006a11f365d13so18377957otb.0; Wed, 05 Apr 2023 13:27:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680726439; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jhywZUom6FVbbnxuIEEwYSdDwpixbUY1lehHpDBSgWw=; b=5pNzdKM5+3J7NdFyI3ogXXEVkfTncpWchTsVGkAav5LKsJu28NHmPnneFHfX6N5CCf msI7zdmn4NCtQegC3tlH0/1XImQ92vBZBaY8Y3tGQac9Cn7BL15HoauI6EFcFqbLe88w /YASGBI7JEj5xK9R7fu1t7DzVkZTcQmGOM/448k2TkNblccIsAEQsRURth7Uc3AaTfG0 /XU2XeJR5fO7JLkiAJEVJtofDdOdbExnB0wC5kyaMRAo/8vqBE4CYmryDNwpgbbLZdf2 FoXKWapPHdTerBFSLMsybNf9ZYIoX7z8EEXmXOOnHAsCS+FhJIxwqOyW7V/RJrLCs389 BoKg== X-Gm-Message-State: AAQBX9eL5suZAC1issydy/PT24GSbh+SDtMVrGRTH2VKfFCH6vi12ls+ 7QDHkiGVv+5w2KtTXIE49A== X-Received: by 2002:a9d:4f16:0:b0:697:3da3:e404 with SMTP id d22-20020a9d4f16000000b006973da3e404mr3621048otl.38.1680726439129; Wed, 05 Apr 2023 13:27:19 -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 w3-20020a9d6383000000b006a11c15a097sm7271960otk.4.2023.04.05.13.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 13:27:18 -0700 (PDT) Received: (nullmailer pid 425877 invoked by uid 1000); Wed, 05 Apr 2023 20:27:17 -0000 From: Rob Herring Subject: [PATCH v2 00/10] Remove acpi.h implicit include of of.h Date: Wed, 05 Apr 2023 15:27:14 -0500 Message-Id: <20230329-acpi-header-cleanup-v2-0-c902e581923b@kernel.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAKLZLWQC/32NSwrCMBQAryJZ+yQfG6or7yFdpC/PJhjS8mKLU np3Yw/gcgaGWUUhjlTE9bAKpiWWOOYK+ngQGFweCKKvLLTURhp9AYdThEDOEwMmcnmewNrGGNX q9mysqGXvCkHPLmOobZ5TqnJiesT3vrp3lUMsr5E/+3lRP/t/siiQ0Hps0Bu0StLtSZwpnUYeR Ldt2xfkJNhrzAAAAA== 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 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_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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762370185607064763?= X-GMAIL-MSGID: =?utf-8?q?1762370185607064763?= In the process of cleaning up DT includes, I found that some drivers using DT functions could build without any explicit DT include. I traced the include to be coming from acpi.h via irqdomain.h. I was pleasantly surprised that there were not 100s or even 10s of warnings when breaking the include chain. So here's the resulting series. I'd suggest Rafael take the whole series. Alternatively,the fixes can be applied in 6.4 and then the last patch either after rc1 or the following cycle. Compile tested on x86 and powerpc allmodconfig and arm64 allmodconfig minus CONFIG_ACPI. Signed-off-by: Rob Herring --- Changes in v2: - More explicit include fixes reported by Stephen - Link to v1: https://lore.kernel.org/r/20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org --- Rob Herring (10): iio: adc: ad7292: Add explicit include for of.h staging: iio: resolver: ad2s1210: Add explicit include for of.h net: rfkill-gpio: Add explicit include for of.h serial: 8250_tegra: Add explicit include for of.h ata: pata_macio: Add explicit include of irqdomain.h pata: ixp4xx: Add explicit include for of.h virtio-mmio: Add explicit include for of.h tpm: atmel: Add explicit include for of.h fpga: lattice-sysconfig-spi: Add explicit include for of.h ACPI: Replace irqdomain.h include with struct declarations drivers/ata/pata_ixp4xx_cf.c | 1 + drivers/ata/pata_macio.c | 1 + drivers/char/tpm/tpm_atmel.h | 2 +- drivers/fpga/lattice-sysconfig-spi.c | 1 + drivers/iio/adc/ad7292.c | 1 + drivers/staging/iio/resolver/ad2s1210.c | 1 + drivers/tty/serial/8250/8250_tegra.c | 1 + drivers/virtio/virtio_mmio.c | 1 + include/linux/acpi.h | 6 ++++-- net/rfkill/rfkill-gpio.c | 1 + 10 files changed, 13 insertions(+), 3 deletions(-) --- base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6 change-id: 20230329-acpi-header-cleanup-665331828436 Best regards,