diff options
Diffstat (limited to 'sound/soc/samsung/i2s.c')
-rw-r--r-- | sound/soc/samsung/i2s.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index 0aa0451823ce..d2d124f1dd1b 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c | |||
@@ -952,8 +952,7 @@ static const struct snd_soc_dai_ops samsung_i2s_dai_ops = { | |||
952 | SNDRV_PCM_FMTBIT_S16_LE | \ | 952 | SNDRV_PCM_FMTBIT_S16_LE | \ |
953 | SNDRV_PCM_FMTBIT_S24_LE) | 953 | SNDRV_PCM_FMTBIT_S24_LE) |
954 | 954 | ||
955 | static __devinit | 955 | static struct i2s_dai *i2s_alloc_dai(struct platform_device *pdev, bool sec) |
956 | struct i2s_dai *i2s_alloc_dai(struct platform_device *pdev, bool sec) | ||
957 | { | 956 | { |
958 | struct i2s_dai *i2s; | 957 | struct i2s_dai *i2s; |
959 | 958 | ||
@@ -994,7 +993,7 @@ struct i2s_dai *i2s_alloc_dai(struct platform_device *pdev, bool sec) | |||
994 | return i2s; | 993 | return i2s; |
995 | } | 994 | } |
996 | 995 | ||
997 | static __devinit int samsung_i2s_probe(struct platform_device *pdev) | 996 | static int samsung_i2s_probe(struct platform_device *pdev) |
998 | { | 997 | { |
999 | u32 dma_pl_chan, dma_cp_chan, dma_pl_sec_chan; | 998 | u32 dma_pl_chan, dma_cp_chan, dma_pl_sec_chan; |
1000 | struct i2s_dai *pri_dai, *sec_dai = NULL; | 999 | struct i2s_dai *pri_dai, *sec_dai = NULL; |
@@ -1117,7 +1116,7 @@ err: | |||
1117 | return ret; | 1116 | return ret; |
1118 | } | 1117 | } |
1119 | 1118 | ||
1120 | static __devexit int samsung_i2s_remove(struct platform_device *pdev) | 1119 | static int samsung_i2s_remove(struct platform_device *pdev) |
1121 | { | 1120 | { |
1122 | struct i2s_dai *i2s, *other; | 1121 | struct i2s_dai *i2s, *other; |
1123 | struct resource *res; | 1122 | struct resource *res; |
@@ -1146,7 +1145,7 @@ static __devexit int samsung_i2s_remove(struct platform_device *pdev) | |||
1146 | 1145 | ||
1147 | static struct platform_driver samsung_i2s_driver = { | 1146 | static struct platform_driver samsung_i2s_driver = { |
1148 | .probe = samsung_i2s_probe, | 1147 | .probe = samsung_i2s_probe, |
1149 | .remove = __devexit_p(samsung_i2s_remove), | 1148 | .remove = samsung_i2s_remove, |
1150 | .driver = { | 1149 | .driver = { |
1151 | .name = "samsung-i2s", | 1150 | .name = "samsung-i2s", |
1152 | .owner = THIS_MODULE, | 1151 | .owner = THIS_MODULE, |