summaryrefslogtreecommitdiffstats
path: root/pcm.c
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-11-13 07:53:40 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-11-13 08:00:30 +1100
commita64111a81dff5e37defbcbfcef638a011897f44e (patch)
treed0bb731e3a0c74d3c07e3479aca46730ec1a8dc9 /pcm.c
parentbd186ee6b13b7eb7b41f8d0fe0f78abd177a12a8 (diff)
Refactor/tidy snd_avirt_private_data
Make void* audiopath a struct and_avirt_audiopath, standardize naming in the struct Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'pcm.c')
-rw-r--r--pcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcm.c b/pcm.c
index 73f87c9..509eae7 100644
--- a/pcm.c
+++ b/pcm.c
@@ -20,8 +20,8 @@
(ap)->pcm_ops->callback((substream), ##__VA_ARGS__) : \
0)
-#define PRIVATE_DATA(substream) \
- ((struct snd_avirt_private_data *) substream->private_data)
+#define PRIVATE_DATA(substream) \
+ ((struct snd_avirt_private_data *)substream->private_data)
/**
* snd_avirt_pcm_period_elapsed - PCM buffer complete callback