ASoC: Staticise PCM operations tables
The PCM operations tables are not exported directly but are instead included in the platform structure so should be declared static. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
@@ -286,7 +286,7 @@ static int davinci_pcm_mmap(struct snd_pcm_substream *substream,
|
||||
runtime->dma_bytes);
|
||||
}
|
||||
|
||||
struct snd_pcm_ops davinci_pcm_ops = {
|
||||
static struct snd_pcm_ops davinci_pcm_ops = {
|
||||
.open = davinci_pcm_open,
|
||||
.close = davinci_pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
|
Reference in New Issue
Block a user