ASoC: Make pmdown_time a long

Fixes a warning.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
This commit is contained in:
Mark Brown 2010-02-17 14:30:44 +00:00
parent e47c796d58
commit 6c5f1fed49
2 changed files with 2 additions and 2 deletions

View File

@ -521,7 +521,7 @@ struct snd_soc_card {
int (*set_bias_level)(struct snd_soc_card *, int (*set_bias_level)(struct snd_soc_card *,
enum snd_soc_bias_level level); enum snd_soc_bias_level level);
int pmdown_time; long pmdown_time;
/* CPU <--> Codec DAI links */ /* CPU <--> Codec DAI links */
struct snd_soc_dai_link *dai_link; struct snd_soc_dai_link *dai_link;

View File

@ -136,7 +136,7 @@ static ssize_t pmdown_time_show(struct device *dev,
struct snd_soc_device *socdev = dev_get_drvdata(dev); struct snd_soc_device *socdev = dev_get_drvdata(dev);
struct snd_soc_card *card = socdev->card; struct snd_soc_card *card = socdev->card;
return sprintf(buf, "%d\n", card->pmdown_time); return sprintf(buf, "%ld\n", card->pmdown_time);
} }
static ssize_t pmdown_time_set(struct device *dev, static ssize_t pmdown_time_set(struct device *dev,