Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2767091rwp; Fri, 14 Jul 2023 11:00:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlHXpaXh5SKhMB3fsnJffIYZJ0qrcMcmJjp+8sPS1mqaPAZeQlIXRstP5ECBEsOCU8sFEeXC X-Received: by 2002:a05:6a00:14c5:b0:668:83b6:bfe8 with SMTP id w5-20020a056a0014c500b0066883b6bfe8mr6834956pfu.9.1689357638000; Fri, 14 Jul 2023 11:00:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689357637; cv=none; d=google.com; s=arc-20160816; b=sdnDlbv2YDIVb/STohN1rfwcHrQ/b9eXPwe6+dM7EJ2EHBeuHAhPA0Iruec0jG/Ak0 iSRkuzZRnh9tjw4ih6rEjVDtcBzrCXaHP4db8eFgXG4HFY73r9L0MqXJqYVn2XBvmoXV CsuD1YPWjXUnGVYBvm7R+9GNbHW/yogpelH0PVKBvrqEGqpXTp1ZH4xnmGCLHh6rO269 Or4zEp7qrwo/vtXRMHVOFQYMqZjO3hLyc1/JF+WZY08WVgF46YFMr1QHM6HYFTUjbgiS BJdV3aEGEfmZhcA3nvtrwVY62y9L+xRX/qiOHOQwjkomgPO2iiCimLaN9wCVPABvQ7u2 m5Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=jV0ZVw+tXJJaX6sFXrDUifNmdjozDg0jsFO9uzlP0KY=; fh=pjXPXBIwNjmGibq5ZstvJs5rWL6cvQOVawDZYfCBgwo=; b=DPzFwUWchcolo3nVRlkvF8fVLBwD4RmMEla1eRq5ScHw3rrPoWQ4jxA5bI94K8E2JT /KAWhNGs9Wwk1s1VKWOK4r1Uri+6x6V5qesF0E2v3devPoGK9Uu180TTi8yzV9nJW9Xg BpF/zBWfsriRRmtEsf0WTArP38h5T9GFXfvFPnMZd5//nJldRH7Mf//i3aiiWBZAVU0F A2rYlSe+r1312MUgc0W0cUPVw9V58oEjWmprBvnq4UFgDrsQ7KGNGwGEnOUkSv8fA+hI dN3i7z1PmLgOGSPhdEvrFqoDSDW8rvUC2posuubiPAHFp4RxtdCtHXSLi7m8neqh3ylH /fTQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a056a00248400b00665e0165510si7555696pfv.252.2023.07.14.11.00.26; Fri, 14 Jul 2023 11:00:37 -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 S236641AbjGNRyj (ORCPT + 99 others); Fri, 14 Jul 2023 13:54:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236593AbjGNRyJ (ORCPT ); Fri, 14 Jul 2023 13:54:09 -0400 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78A5B35A9; Fri, 14 Jul 2023 10:53:39 -0700 (PDT) Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-78625caa702so86653839f.1; Fri, 14 Jul 2023 10:53:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689357097; x=1691949097; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jV0ZVw+tXJJaX6sFXrDUifNmdjozDg0jsFO9uzlP0KY=; b=cPBFD0+0ZAT47fCARQ4DMoaLwmgvXdA8q0XnfdAoKqEKrWFjmGVJUF/8jHW49OEUPe wseip/TK4akX1j9D40GNK9oQ7FsIHx7um1Xb9fzm0oTaCOxNcTo6L/heLw3GNf6KMMsq ySsaDsKLlcSXTAaTNS+Dw7/nLZe0hQq8VIvKAyXCG9IS1ynM+KAf5I4+jkiEkEbjEKnw cs4hd7awRB8cQrlZy5AH7z3AmxPstnnGT5HG/J0+7sugNz3PHc4ONrdwjoNwf6+zmsCR GYZSNKKQnKtyXhq7yDF2o45RYf+CZIn4ISr3yjCaONC59biwpiPJWuRcmc7/EcDiA/re d0UA== X-Gm-Message-State: ABy/qLYTauG3IKsAN2tyL6jm25xW8UsWYkCK72ETtGEiA0PrXrRECORK NT2hgcwi4u9KdLcmOCtAHQ== X-Received: by 2002:a6b:db02:0:b0:783:5e93:1e7f with SMTP id t2-20020a6bdb02000000b007835e931e7fmr5310749ioc.18.1689357096822; Fri, 14 Jul 2023 10:51:36 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id i10-20020a02b68a000000b004290fd3a68dsm2731869jam.1.2023.07.14.10.51.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:51:36 -0700 (PDT) Received: (nullmailer pid 4066909 invoked by uid 1000); Fri, 14 Jul 2023 17:51:23 -0000 From: Rob Herring To: Jaroslav Kysela , Takashi Iwai , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Thierry Reding , Jonathan Hunter Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH] ALSA: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:51:08 -0600 Message-Id: <20230714175109.4066599-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it as merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Signed-off-by: Rob Herring --- sound/atmel/ac97c.c | 3 +-- sound/drivers/serial-generic.c | 2 +- sound/pci/hda/hda_tegra.c | 3 ++- sound/ppc/awacs.c | 1 + sound/ppc/burgundy.c | 1 + sound/sparc/amd7930.c | 3 +-- sound/sparc/cs4231.c | 2 +- sound/sparc/dbri.c | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/sound/atmel/ac97c.c b/sound/atmel/ac97c.c index c8912b8a1dc5..402b5f66dcc3 100644 --- a/sound/atmel/ac97c.c +++ b/sound/atmel/ac97c.c @@ -12,13 +12,12 @@ #include #include #include +#include #include #include #include #include #include -#include -#include #include #include diff --git a/sound/drivers/serial-generic.c b/sound/drivers/serial-generic.c index e1f864dc7939..b0262541802a 100644 --- a/sound/drivers/serial-generic.c +++ b/sound/drivers/serial-generic.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c index 9d0ab043880b..39fa036616ce 100644 --- a/sound/pci/hda/hda_tegra.c +++ b/sound/pci/hda/hda_tegra.c @@ -16,7 +16,8 @@ #include #include #include -#include +#include +#include #include #include #include diff --git a/sound/ppc/awacs.c b/sound/ppc/awacs.c index 53d558b2806c..659866cfe3b4 100644 --- a/sound/ppc/awacs.c +++ b/sound/ppc/awacs.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include "pmac.h" diff --git a/sound/ppc/burgundy.c b/sound/ppc/burgundy.c index 4fb990ab2ceb..400a886562b1 100644 --- a/sound/ppc/burgundy.c +++ b/sound/ppc/burgundy.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include "pmac.h" #include "burgundy.h" diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c index c434b69a83f1..0fea04acc3ea 100644 --- a/sound/sparc/amd7930.c +++ b/sound/sparc/amd7930.c @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include #include @@ -47,7 +47,6 @@ #include #include -#include static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c index 31bac355ec4d..c2ad3fa2f25a 100644 --- a/sound/sparc/cs4231.c +++ b/sound/sparc/cs4231.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c index 376aed136a45..050e98f32d36 100644 --- a/sound/sparc/dbri.c +++ b/sound/sparc/dbri.c @@ -69,7 +69,7 @@ #include #include -#include +#include #include #include -- 2.40.1