From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: [PATCH] ASoC: Use bool rather than 1 bit bitfield in multi-component Date: Thu, 1 Jul 2010 20:55:34 +0100 Message-ID: <1278014134-19158-1-git-send-email-broonie@opensource.wolfsonmicro.com> References: <1277407467.3100.579.camel@odin> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 60CE124153 for ; Thu, 1 Jul 2010 21:55:46 +0200 (CEST) In-Reply-To: <1277407467.3100.579.camel@odin> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Liam Girdwood Cc: alsa-devel@alsa-project.org, Mark Brown List-Id: alsa-devel@alsa-project.org This fixes sparse complaints about the bitfield being signed but only 1 bit wide (so not enough space to store the sign bit). Signed-off-by: Mark Brown --- include/sound/soc.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/sound/soc.h b/include/sound/soc.h index b3fe7a8..fb3093b 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -573,7 +573,7 @@ struct snd_soc_card { struct list_head list; struct mutex mutex; - int instantiated:1; + bool instantiated; int (*probe)(struct platform_device *pdev); int (*remove)(struct platform_device *pdev); -- 1.7.1