From patchwork Mon Nov 15 12:02:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Trimmer X-Patchwork-Id: 12619443 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91861C433F5 for ; Mon, 15 Nov 2021 12:03:51 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 09B766322D for ; Mon, 15 Nov 2021 12:03:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 09B766322D Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=opensource.cirrus.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E150B1688; Mon, 15 Nov 2021 13:02:58 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E150B1688 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1636977829; bh=Qkx6d+ivTfYHRmVr6kJ0J1IMDjFiA24Jt86B3TyZxvQ=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=BP2DTQUsnc6Tt0ZXDnavyQFN/9DjjZsAINgvSAYsiUEd+89NXQrYwhBm002VG/P0t onaP2wUuqF24lhZabhdhAN9firmZC3DlvFfv7nwQHzoJpkSFkkRn1F9iY8Srm5WVZb z7HKJ7iJdJtH6KFz02ocnwGD+RZwFh/8FwV5vkQY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C8B87F8028B; Mon, 15 Nov 2021 13:02:32 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A9BBDF8049C; Mon, 15 Nov 2021 13:02:31 +0100 (CET) Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 951A4F8028B for ; Mon, 15 Nov 2021 13:02:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 951A4F8028B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b="Vh0nFoIu" Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1AFBu7I1030566; Mon, 15 Nov 2021 06:02:22 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=ZsfDJPs3AQkoppYF0vvBIPQ+auuj++HTA/sVw3iUTIQ=; b=Vh0nFoIurj+w7BD/f8pp83NbVxj26FmlU8vUj0ZMyznh5W3b5A4k8Q9oUuT+qrVS080m 1u1nOb4xhESAWXTjMjKoLQe247QsaZ3dLWRoaixlKD5jdk4UMlc7lmNNPkd8Q270UO2e y2T2YGhDZkrcVOdFpHGbae+Z2V0HtLdnAz+KRra+k+W36PpJ6bLJPgPsWXp6RR3CFdb3 FVPNRp55yh9VH1mbpuBG+xsKRJmg3DuYa67bGgHbNbwt+dVvdJfo5MR+IcNu5XpY/ry0 3DJHUwS5mEPzhsDUxqq0mMq8+PxVOcUMHJO87g+KoctrlrkeR4gLpbIQur6AW34HZigD rQ== Received: from ediex01.ad.cirrus.com ([87.246.76.36]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3cbdjgrfcx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 15 Nov 2021 06:02:22 -0600 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Mon, 15 Nov 2021 12:02:20 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Mon, 15 Nov 2021 12:02:20 +0000 Received: from simont-vb.lan?044ad.cirrus.com (unknown [198.90.238.231]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 82F86B2F; Mon, 15 Nov 2021 12:02:20 +0000 (UTC) From: Simon Trimmer To: Subject: [PATCH] firmware: cs_dsp: tidy includes in cs_dsp.c and cs_dsp.h Date: Mon, 15 Nov 2021 12:02:15 +0000 Message-ID: <20211115120215.56824-1-simont@opensource.cirrus.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: s5wn5ZZwwKNuipaX-mCAvYa6ih8nO0NH X-Proofpoint-GUID: s5wn5ZZwwKNuipaX-mCAvYa6ih8nO0NH X-Proofpoint-Spam-Reason: safe Cc: patches@opensource.cirrus.com, alsa-devel@alsa-project.org, Simon Trimmer , linux-kernel@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This patch removes unused included header files and moves others into cs_dsp.h to ensure that types referenced in the header file are properly described to prevent compiler warnings. Signed-off-by: Simon Trimmer Acked-by: Charles Keepax --- drivers/firmware/cirrus/cs_dsp.c | 6 ------ include/linux/firmware/cirrus/cs_dsp.h | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/firmware/cirrus/cs_dsp.c b/drivers/firmware/cirrus/cs_dsp.c index 948dd8382686..1a0c6c793f6a 100644 --- a/drivers/firmware/cirrus/cs_dsp.c +++ b/drivers/firmware/cirrus/cs_dsp.c @@ -12,16 +12,10 @@ #include #include #include -#include -#include -#include -#include #include #include -#include #include #include -#include #include #include diff --git a/include/linux/firmware/cirrus/cs_dsp.h b/include/linux/firmware/cirrus/cs_dsp.h index 9ad9eaaaa552..3a54b1afc48f 100644 --- a/include/linux/firmware/cirrus/cs_dsp.h +++ b/include/linux/firmware/cirrus/cs_dsp.h @@ -11,6 +11,11 @@ #ifndef __CS_DSP_H #define __CS_DSP_H +#include +#include +#include +#include + #define CS_ADSP2_REGION_0 BIT(0) #define CS_ADSP2_REGION_1 BIT(1) #define CS_ADSP2_REGION_2 BIT(2)