From patchwork Tue May 28 20:02:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaroslav Kysela X-Patchwork-Id: 10965771 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5189576 for ; Tue, 28 May 2019 20:03:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 42A52286E0 for ; Tue, 28 May 2019 20:03:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3700E28763; Tue, 28 May 2019 20:03:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 10860286E0 for ; Tue, 28 May 2019 20:03:42 +0000 (UTC) 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 3A46B15F2; Tue, 28 May 2019 22:02:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3A46B15F2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1559073820; bh=2R6+sZSdF6tktmH8TAJGw4zzWzpqVFvda/PrjbP7oLc=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=E72pzfRCZ6hkuqbAFWeM+IgalIxFecJ+zFygPhBGHQo+g+UkABzgJSDqesVynkIRk QQMmiCv3TUIxno/P50MkAjgi+c9PXvRGXNYhU1MByHjH+2CH0IhryV2+tySYaRMnqN Hd0kLOrBh+Dugl4/7aI4/G8vQ0XDhsOUBnCDJafI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B4732F896B8; Tue, 28 May 2019 22:02:49 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 37D6DF8072E; Tue, 28 May 2019 22:02:48 +0200 (CEST) Received: from mail1.perex.cz (mail1.perex.cz [77.48.224.245]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id DB559F8065A for ; Tue, 28 May 2019 22:02:45 +0200 (CEST) Received: from mail1.perex.cz (localhost [127.0.0.1]) by smtp1.perex.cz (Perex's E-mail Delivery System) with ESMTP id D3AAAA003F; Tue, 28 May 2019 22:02:44 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.perex.cz D3AAAA003F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perex.cz; s=default; t=1559073764; bh=4a5c5aSy2UVB93YUJ5pnDtf+5Gow1EYiIXPPDfsB0Ac=; h=From:To:Cc:Subject:Date:From; b=0MlhEMi2fXb5XmZDViadv2AcHltU2VqAn4U/c/Xfu9zLr5WNA15AgAzraZjpajP4B 3qiNxAJre4RWSKxlkAygw7oxL8vJGKCkHyBZBea/A6ASLBllByCp3TfGi+kIfDfGzz ukUfBtPWXRzcw3fBLvW4VDDphd5a8ScVm1A6NOo0= Received: from p50.perex-int.cz (unknown [192.168.100.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: perex) by mail1.perex.cz (Perex's E-mail Delivery System) with ESMTPSA; Tue, 28 May 2019 22:02:37 +0200 (CEST) From: Jaroslav Kysela To: ALSA development Date: Tue, 28 May 2019 22:02:06 +0200 Message-Id: <20190528200206.2793-1-perex@perex.cz> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: Takashi Iwai , Liam Girdwood , Mark Brown , Pierre-Louis Bossart Subject: [alsa-devel] [PATCH] ASoC: SOF: uapi headers - add missing include for stdint.h 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" X-Virus-Scanned: ClamAV using ClamSMTP The modified header files depend on types defined in . Signed-off-by: Jaroslav Kysela Cc: Liam Girdwood Cc: Pierre-Louis Bossart Cc: Takashi Iwai Cc: Mark Brown --- include/uapi/sound/sof/eq.h | 4 ++++ include/uapi/sound/sof/fw.h | 4 ++++ include/uapi/sound/sof/header.h | 4 ++++ include/uapi/sound/sof/manifest.h | 4 ++++ include/uapi/sound/sof/trace.h | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/include/uapi/sound/sof/eq.h b/include/uapi/sound/sof/eq.h index 666c2b6a3229..106d56e357e0 100644 --- a/include/uapi/sound/sof/eq.h +++ b/include/uapi/sound/sof/eq.h @@ -9,6 +9,10 @@ #ifndef __INCLUDE_UAPI_SOUND_SOF_USER_EQ_H__ #define __INCLUDE_UAPI_SOUND_SOF_USER_EQ_H__ +#ifndef __KERNEL__ +#include +#endif + /* FIR EQ type */ #define SOF_EQ_FIR_IDX_SWITCH 0 diff --git a/include/uapi/sound/sof/fw.h b/include/uapi/sound/sof/fw.h index 1afca973eb09..4f2de19a3b86 100644 --- a/include/uapi/sound/sof/fw.h +++ b/include/uapi/sound/sof/fw.h @@ -13,6 +13,10 @@ #ifndef __INCLUDE_UAPI_SOF_FW_H__ #define __INCLUDE_UAPI_SOF_FW_H__ +#ifndef __KERNEL__ +#include +#endif + #define SND_SOF_FW_SIG_SIZE 4 #define SND_SOF_FW_ABI 1 #define SND_SOF_FW_SIG "Reef" diff --git a/include/uapi/sound/sof/header.h b/include/uapi/sound/sof/header.h index 7868990b0d6f..6a62ae8f0eb9 100644 --- a/include/uapi/sound/sof/header.h +++ b/include/uapi/sound/sof/header.h @@ -9,6 +9,10 @@ #ifndef __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__ #define __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__ +#ifndef __KERNEL__ +#include +#endif + /* * Header for all non IPC ABI data. * diff --git a/include/uapi/sound/sof/manifest.h b/include/uapi/sound/sof/manifest.h index 2009ee30fad0..d57aa2bc4764 100644 --- a/include/uapi/sound/sof/manifest.h +++ b/include/uapi/sound/sof/manifest.h @@ -9,6 +9,10 @@ #ifndef __INCLUDE_UAPI_SOUND_SOF_USER_MANIFEST_H__ #define __INCLUDE_UAPI_SOUND_SOF_USER_MANIFEST_H__ +#ifndef __KERNEL__ +#include +#endif + /* start offset for base FW module */ #define SOF_MAN_ELF_TEXT_OFFSET 0x2000 diff --git a/include/uapi/sound/sof/trace.h b/include/uapi/sound/sof/trace.h index ffa7288a0f16..1652bc08d576 100644 --- a/include/uapi/sound/sof/trace.h +++ b/include/uapi/sound/sof/trace.h @@ -9,6 +9,10 @@ #ifndef __INCLUDE_UAPI_SOUND_SOF_USER_TRACE_H__ #define __INCLUDE_UAPI_SOUND_SOF_USER_TRACE_H__ +#ifndef __KERNEL__ +#include +#endif + /* * Host system time. *