diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-04-29 23:30:39 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-04-30 16:24:45 +0400 |
commit | 51438449e717db54550b4676f38208092eb654da (patch) | |
tree | aac2b55526e00c039bc7f1c41631adabc67417d4 /sound/soc/s3c24xx/s3c64xx-i2s.h | |
parent | 8a0f62b842e2f189e36d9f4c575ee15da9c605ff (diff) | |
download | linux-51438449e717db54550b4676f38208092eb654da.tar.xz |
ASoC: Make S3C64xx clock export function to return struct clk
This makes the interface usable with the s3c-iis-v2 rate calculator
and consistent with S3C2412.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/s3c24xx/s3c64xx-i2s.h')
-rw-r--r-- | sound/soc/s3c24xx/s3c64xx-i2s.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/s3c24xx/s3c64xx-i2s.h b/sound/soc/s3c24xx/s3c64xx-i2s.h index 597822a4658f..02148cee2613 100644 --- a/sound/soc/s3c24xx/s3c64xx-i2s.h +++ b/sound/soc/s3c24xx/s3c64xx-i2s.h @@ -15,6 +15,8 @@ #ifndef __SND_SOC_S3C24XX_S3C64XX_I2S_H #define __SND_SOC_S3C24XX_S3C64XX_I2S_H __FILE__ +struct clk; + #include "s3c-i2s-v2.h" #define S3C64XX_DIV_BCLK S3C_I2SV2_DIV_BCLK @@ -26,6 +28,6 @@ extern struct snd_soc_dai s3c64xx_i2s_dai[]; -extern unsigned long s3c64xx_i2s_get_clockrate(struct snd_soc_dai *cpu_dai); +extern struct clk *s3c64xx_i2s_get_clock(struct snd_soc_dai *dai); #endif /* __SND_SOC_S3C24XX_S3C64XX_I2S_H */ |