diff options
Diffstat (limited to 'sound/soc/samsung/s3c-i2s-v2.c')
-rw-r--r-- | sound/soc/samsung/s3c-i2s-v2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/samsung/s3c-i2s-v2.c b/sound/soc/samsung/s3c-i2s-v2.c index fefc56100349..79e7efb9283c 100644 --- a/sound/soc/samsung/s3c-i2s-v2.c +++ b/sound/soc/samsung/s3c-i2s-v2.c | |||
@@ -729,7 +729,7 @@ int s3c_i2sv2_register_component(struct device *dev, int id, | |||
729 | struct snd_soc_component_driver *cmp_drv, | 729 | struct snd_soc_component_driver *cmp_drv, |
730 | struct snd_soc_dai_driver *dai_drv) | 730 | struct snd_soc_dai_driver *dai_drv) |
731 | { | 731 | { |
732 | struct snd_soc_dai_ops *ops = drv->ops; | 732 | struct snd_soc_dai_ops *ops = dai_drv->ops; |
733 | 733 | ||
734 | ops->trigger = s3c2412_i2s_trigger; | 734 | ops->trigger = s3c2412_i2s_trigger; |
735 | if (!ops->hw_params) | 735 | if (!ops->hw_params) |
@@ -742,8 +742,8 @@ int s3c_i2sv2_register_component(struct device *dev, int id, | |||
742 | if (!ops->delay) | 742 | if (!ops->delay) |
743 | ops->delay = s3c2412_i2s_delay; | 743 | ops->delay = s3c2412_i2s_delay; |
744 | 744 | ||
745 | drv->suspend = s3c2412_i2s_suspend; | 745 | dai_drv->suspend = s3c2412_i2s_suspend; |
746 | drv->resume = s3c2412_i2s_resume; | 746 | dai_drv->resume = s3c2412_i2s_resume; |
747 | 747 | ||
748 | return snd_soc_register_component(dev, cmp_drv, dai_drv, 1); | 748 | return snd_soc_register_component(dev, cmp_drv, dai_drv, 1); |
749 | } | 749 | } |