Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2079789rdb; Tue, 3 Oct 2023 09:33:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF0FFUWeGOKV9hPvT9vvyth+z8xmM1wtIPAmN11FogvnI+MA+cyjb38j/MumEddkJFrk2tp X-Received: by 2002:a17:90b:1806:b0:268:1355:b03e with SMTP id lw6-20020a17090b180600b002681355b03emr12879253pjb.38.1696350803503; Tue, 03 Oct 2023 09:33:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696350803; cv=none; d=google.com; s=arc-20160816; b=t+Q6f8mqygdNN8jneu49DCqQNaM87Haeabxl7j8cOH4V6dqFX1UPyxRCSXko8wtLn/ TjZc3mp1ovuXaovfQHNq9pdn9de7RI4U/gcj5qTLJdo0ndVMmBeC3fi8eYmcDizk7BHE xpQwsXhQbebSMXIlQWKOBvN/LNL97UPhuS5GuP1khKBVenWs1JIZ23XZrMN4tHP7HQsW ZKoGSm7asV72Ipv3g79YquLJbRxMCw9HRdHI526JBAWmdMU2JG/BpUOBTQQqDfj0E4Ye ck1cleQGNDY6llleIw3hynHkcdwAiBgbi8wWFwWZfeBB8sRDYQ3D38h2addZ7aaLyFHo tJrw== 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:dkim-signature; bh=YKlq2EAcXB6GyK8e4GgKhtAj6y1jy3ecu7miPgX/te0=; fh=wdCwGy+UOULQ48Kn5hylA+Uw0QCuZ4Krq4WWMYLmLCk=; b=Y9RINZmpmMFOEuL48FPEODLyk09SU32wUoS3XKsIDUu8/sU+sWNx8uUrP+VlJT9hSW FNVLDRgMeV2PLwKaXIGoMyIT2BoyfidNrq7ZErFe7mOwg6LBbk29KG1SVM76DBm0f2zf Nc0RUMnzwSGtaw0keyIs/FynWmYjksNcqrZQ9y7tyPwn9pSmYN2/eAMsdFTwDGXvubnO 6cAwpjsaUUKI+nopzj9BJJrrID+F5Y88VBUv84PpjLa85wPicFR0xc/aaBuCGGFZVgqz I2rVZDIBt05uVVdBkDyVHqHWFyv2h7ZD9C2Y8Ib8SfLHbu7i1I5gNOq2S+lmDBbNKI8J IjYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yz+XCHNJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id na4-20020a17090b4c0400b002465d98f18csi11194239pjb.170.2023.10.03.09.33.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 09:33:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yz+XCHNJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id B3ADD816538B; Tue, 3 Oct 2023 09:33:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240373AbjJCQcZ (ORCPT + 99 others); Tue, 3 Oct 2023 12:32:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240421AbjJCQcW (ORCPT ); Tue, 3 Oct 2023 12:32:22 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 325F791 for ; Tue, 3 Oct 2023 09:32:18 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 448C8C433C9; Tue, 3 Oct 2023 16:32:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696350737; bh=sjh9BGA1nsCUJfo4UKIgAo5O6d5+5ra7VbGEXelDVqQ=; h=From:To:Cc:Subject:Date:From; b=Yz+XCHNJ79P10SM8ZkqFGI5eLP2S2oVNmwc8BfIGAmXrO8QO+CCPBPrdY698nuUGW oqBW5ay34H1/tLD5g+17rZsQdmKWhTRP0K8jOFZv6OIA20DuzsFhuTaVRVfpQH2dPD qQ6Tu35VrlO9kg03zMGatkCxyVdoncz4sshKMUGMzWbgSETPeTPsN6Pdnw/Pa5M6wv Vh08uAsjxO/d+1VZuWUbpcRtsYxY6cvgre7UwDbGS8kxnzBo+7Thfvl4+7ZD7AOBNu 2m8pd+0RTZDUgKOvN/JKd2+1jJY4nbnthCBWAzUPmZVv+Pwlj/Hp4K8AGRq70OwV4z NssPctnmuWf6g== Received: (nullmailer pid 771085 invoked by uid 1000); Tue, 03 Oct 2023 16:32:16 -0000 From: Rob Herring To: Johannes Berg , Jaroslav Kysela , Takashi Iwai Cc: linuxppc-dev@lists.ozlabs.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ALSA: aoa: Replace asm/prom.h with explicit includes Date: Tue, 3 Oct 2023 11:32:02 -0500 Message-Id: <20231003163209.770750-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=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 03 Oct 2023 09:33:13 -0700 (PDT) asm/prom.h should not be included directly as it no longer contains anything drivers need. Drivers should include of.h and/or other headers which were getting implicitly included. Signed-off-by: Rob Herring --- sound/aoa/aoa-gpio.h | 1 - sound/aoa/aoa.h | 1 - sound/aoa/codecs/onyx.c | 1 + sound/aoa/codecs/onyx.h | 1 - sound/aoa/codecs/tas.c | 2 +- sound/aoa/fabrics/layout.c | 3 ++- sound/aoa/soundbus/core.c | 2 ++ sound/aoa/soundbus/i2sbus/control.c | 1 - sound/aoa/soundbus/i2sbus/core.c | 1 + sound/aoa/soundbus/i2sbus/i2sbus.h | 1 - sound/aoa/soundbus/soundbus.h | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sound/aoa/aoa-gpio.h b/sound/aoa/aoa-gpio.h index 54f9a78fa08e..77ae75d7594c 100644 --- a/sound/aoa/aoa-gpio.h +++ b/sound/aoa/aoa-gpio.h @@ -9,7 +9,6 @@ #define __AOA_GPIO_H #include #include -#include typedef void (*notify_func_t)(void *data); diff --git a/sound/aoa/aoa.h b/sound/aoa/aoa.h index 3d2d03ff6337..badff9f7cd54 100644 --- a/sound/aoa/aoa.h +++ b/sound/aoa/aoa.h @@ -7,7 +7,6 @@ #ifndef __AOA_H #define __AOA_H -#include #include #include #include diff --git a/sound/aoa/codecs/onyx.c b/sound/aoa/codecs/onyx.c index a8a59d71dcec..e90e03bb0dc0 100644 --- a/sound/aoa/codecs/onyx.c +++ b/sound/aoa/codecs/onyx.c @@ -30,6 +30,7 @@ */ #include #include +#include #include MODULE_AUTHOR("Johannes Berg "); MODULE_LICENSE("GPL"); diff --git a/sound/aoa/codecs/onyx.h b/sound/aoa/codecs/onyx.h index 6c31b7373b78..bbdca841fe90 100644 --- a/sound/aoa/codecs/onyx.h +++ b/sound/aoa/codecs/onyx.h @@ -8,7 +8,6 @@ #define __SND_AOA_CODEC_ONYX_H #include #include -#include /* PCM3052 register definitions */ diff --git a/sound/aoa/codecs/tas.c b/sound/aoa/codecs/tas.c index ab1472390061..be9822ebf9f8 100644 --- a/sound/aoa/codecs/tas.c +++ b/sound/aoa/codecs/tas.c @@ -60,10 +60,10 @@ */ #include #include -#include #include #include #include +#include #include MODULE_AUTHOR("Johannes Berg "); diff --git a/sound/aoa/fabrics/layout.c b/sound/aoa/fabrics/layout.c index 850dc8c53e9b..0cd19a05db19 100644 --- a/sound/aoa/fabrics/layout.c +++ b/sound/aoa/fabrics/layout.c @@ -7,9 +7,10 @@ * This fabric module looks for sound codecs based on the * layout-id or device-id property in the device tree. */ -#include #include #include +#include +#include #include #include "../aoa.h" #include "../soundbus/soundbus.h" diff --git a/sound/aoa/soundbus/core.c b/sound/aoa/soundbus/core.c index 39fb8fe4e6ab..8f24a3eea16b 100644 --- a/sound/aoa/soundbus/core.c +++ b/sound/aoa/soundbus/core.c @@ -6,6 +6,8 @@ */ #include +#include +#include #include "soundbus.h" MODULE_AUTHOR("Johannes Berg "); diff --git a/sound/aoa/soundbus/i2sbus/control.c b/sound/aoa/soundbus/i2sbus/control.c index 7d3abb8b2416..a003ef06de63 100644 --- a/sound/aoa/soundbus/i2sbus/control.c +++ b/sound/aoa/soundbus/i2sbus/control.c @@ -10,7 +10,6 @@ #include #include -#include #include #include #include diff --git a/sound/aoa/soundbus/i2sbus/core.c b/sound/aoa/soundbus/i2sbus/core.c index 51ed2f34b276..3f49a9e28bfc 100644 --- a/sound/aoa/soundbus/i2sbus/core.c +++ b/sound/aoa/soundbus/i2sbus/core.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include diff --git a/sound/aoa/soundbus/i2sbus/i2sbus.h b/sound/aoa/soundbus/i2sbus/i2sbus.h index e86fdbb3b4c5..7a3cae0d6c26 100644 --- a/sound/aoa/soundbus/i2sbus/i2sbus.h +++ b/sound/aoa/soundbus/i2sbus/i2sbus.h @@ -13,7 +13,6 @@ #include -#include #include #include diff --git a/sound/aoa/soundbus/soundbus.h b/sound/aoa/soundbus/soundbus.h index db40f9d042b4..877cbad93f12 100644 --- a/sound/aoa/soundbus/soundbus.h +++ b/sound/aoa/soundbus/soundbus.h @@ -7,7 +7,7 @@ #ifndef __SOUNDBUS_H #define __SOUNDBUS_H -#include +#include #include #include -- 2.40.1