1. 12 Aug, 2009 2 commits
    • Uwe Kleine-König's avatar
      s3c2443-ac97: convert semaphore to mutex · 87980853
      Uwe Kleine-König authored
      This fixes a build failure for 2.6.31-rc4-rt1 (ARCH=arm, s3c2410_defconfig):
      
        sound/soc/s3c24xx/s3c2443-ac97.c:50: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX'
        sound/soc/s3c24xx/s3c2443-ac97.c:50: warning: parameter names (without types) in function declaration
        sound/soc/s3c24xx/s3c2443-ac97.c: In function 's3c2443_ac97_read':
        sound/soc/s3c24xx/s3c2443-ac97.c:59: error: 'ac97_mutex' undeclared (first use in this function)
        sound/soc/s3c24xx/s3c2443-ac97.c:59: error: (Each undeclared identifier is reported only once
        sound/soc/s3c24xx/s3c2443-ac97.c:59: error: for each function it appears in.)
        sound/soc/s3c24xx/s3c2443-ac97.c: In function 's3c2443_ac97_write':
        sound/soc/s3c24xx/s3c2443-ac97.c:93: error: 'ac97_mutex' undeclared (first use in this function)
      Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Takashi Iwai <tiwai@suse.de>
      Cc: Jaroslav Kysela <perex@perex.cz>
      Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: Liam Girdwood <lrg@slimlogic.co.uk>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Timur Tabi <timur@freescale.com>
      Cc: Eric Miao <eric.miao@marvell.com>
      Cc: alsa-devel@alsa-project.org
      LKML-Reference: <1249677761-19470-2-git-send-email-u.kleine-koenig@pengutronix.de>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      87980853
    • Uwe Kleine-König's avatar
      ucb1x00: include linux/semaphore.h · 4c1d832e
      Uwe Kleine-König authored
      This fixes the following error:
      
        CC      drivers/mfd/ucb1x00-core.o
        drivers/mfd/ucb1x00-core.c: In function 'ucb1x00_adc_enable':
        drivers/mfd/ucb1x00-core.c:138: error: implicit declaration of function 'down'
        drivers/mfd/ucb1x00-core.c: In function 'ucb1x00_adc_disable':
        drivers/mfd/ucb1x00-core.c:196: error: implicit declaration of function 'up'
        drivers/mfd/ucb1x00-core.c: In function 'ucb1x00_probe':
        drivers/mfd/ucb1x00-core.c:500: error: implicit declaration of function 'sema_init'
      Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      LKML-Reference: <1249677761-19470-1-git-send-email-u.kleine-koenig@pengutronix.de>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      4c1d832e
  2. 28 Jul, 2009 10 commits
  3. 27 Jul, 2009 28 commits