aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/xen/xen_snd_front.h
diff options
context:
space:
mode:
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>2018-11-30 09:42:05 +0200
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>2018-12-18 12:19:37 -0500
commit58f9d806d16a38ed3bae11e2ada83393436a4956 (patch)
tree85823c492450b944b207f1004fee08462ba55d43 /sound/xen/xen_snd_front.h
parentdrm/xen-front: Use Xen common shared buffer implementation (diff)
downloadwireguard-linux-58f9d806d16a38ed3bae11e2ada83393436a4956.tar.xz
wireguard-linux-58f9d806d16a38ed3bae11e2ada83393436a4956.zip
ALSA: xen-front: Use Xen common shared buffer implementation
Use page directory based shared buffer implementation now available as common code for Xen frontend drivers. Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'sound/xen/xen_snd_front.h')
-rw-r--r--sound/xen/xen_snd_front.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/xen/xen_snd_front.h b/sound/xen/xen_snd_front.h
index a2ea2463bcc5..05611f113b94 100644
--- a/sound/xen/xen_snd_front.h
+++ b/sound/xen/xen_snd_front.h
@@ -16,7 +16,7 @@
struct xen_snd_front_card_info;
struct xen_snd_front_evtchnl;
struct xen_snd_front_evtchnl_pair;
-struct xen_snd_front_shbuf;
+struct xen_front_pgdir_shbuf;
struct xensnd_query_hw_param;
struct xen_snd_front_info {
@@ -35,7 +35,7 @@ int xen_snd_front_stream_query_hw_param(struct xen_snd_front_evtchnl *evtchnl,
struct xensnd_query_hw_param *hw_param_resp);
int xen_snd_front_stream_prepare(struct xen_snd_front_evtchnl *evtchnl,
- struct xen_snd_front_shbuf *sh_buf,
+ struct xen_front_pgdir_shbuf *shbuf,
u8 format, unsigned int channels,
unsigned int rate, u32 buffer_sz,
u32 period_sz);