From 8ebf27c673c22f96350bece77a97d79ea25cd212 Mon Sep 17 00:00:00 2001 From: Marcin Maka Date: Mon, 23 Mar 2020 21:16:00 +0100 Subject: [PATCH] dai: rename private field to priv_data Another cpp keyword that confuses documentation generation process. Signed-off-by: Marcin Maka --- src/include/sof/lib/dai.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/sof/lib/dai.h b/src/include/sof/lib/dai.h index 8aedc9941..db993eb33 100644 --- a/src/include/sof/lib/dai.h +++ b/src/include/sof/lib/dai.h @@ -140,7 +140,7 @@ struct dai { int sref; /**< simple ref counter, guarded by lock */ struct dai_plat_data plat_data; const struct dai_driver *drv; - void *private; + void *priv_data; }; /** @@ -245,9 +245,9 @@ struct dai *dai_get(uint32_t type, uint32_t index, uint32_t flags); void dai_put(struct dai *dai); #define dai_set_drvdata(dai, data) \ - (dai->private = data) + (dai->priv_data = data) #define dai_get_drvdata(dai) \ - dai->private + dai->priv_data #define dai_base(dai) \ dai->plat_data.base #define dai_irq(dai) \