diff options
Diffstat (limited to 'sound/soc/samsung/s3c-i2s-v2.c')
-rw-r--r-- | sound/soc/samsung/s3c-i2s-v2.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sound/soc/samsung/s3c-i2s-v2.c b/sound/soc/samsung/s3c-i2s-v2.c index 7a73380b3560..20e98d1dded2 100644 --- a/sound/soc/samsung/s3c-i2s-v2.c +++ b/sound/soc/samsung/s3c-i2s-v2.c | |||
@@ -731,8 +731,9 @@ static int s3c2412_i2s_resume(struct snd_soc_dai *dai) | |||
731 | #define s3c2412_i2s_resume NULL | 731 | #define s3c2412_i2s_resume NULL |
732 | #endif | 732 | #endif |
733 | 733 | ||
734 | int s3c_i2sv2_register_dai(struct device *dev, int id, | 734 | int s3c_i2sv2_register_component(struct device *dev, int id, |
735 | struct snd_soc_dai_driver *drv) | 735 | struct snd_soc_component_driver *cmp_drv, |
736 | struct snd_soc_dai_driver *dai_drv) | ||
736 | { | 737 | { |
737 | struct snd_soc_dai_ops *ops = drv->ops; | 738 | struct snd_soc_dai_ops *ops = drv->ops; |
738 | 739 | ||
@@ -750,8 +751,8 @@ int s3c_i2sv2_register_dai(struct device *dev, int id, | |||
750 | drv->suspend = s3c2412_i2s_suspend; | 751 | drv->suspend = s3c2412_i2s_suspend; |
751 | drv->resume = s3c2412_i2s_resume; | 752 | drv->resume = s3c2412_i2s_resume; |
752 | 753 | ||
753 | return snd_soc_register_dai(dev, drv); | 754 | return snd_soc_register_component(dev, cmp_drv, dai_drv, 1); |
754 | } | 755 | } |
755 | EXPORT_SYMBOL_GPL(s3c_i2sv2_register_dai); | 756 | EXPORT_SYMBOL_GPL(s3c_i2sv2_register_component); |
756 | 757 | ||
757 | MODULE_LICENSE("GPL"); | 758 | MODULE_LICENSE("GPL"); |