dai: rename private field to priv_data

Another cpp keyword that confuses documentation generation
process.

Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
This commit is contained in:
Marcin Maka 2020-03-23 21:16:00 +01:00 committed by Janusz Jankowski
parent 415906e822
commit 8ebf27c673
1 changed files with 3 additions and 3 deletions

View File

@ -140,7 +140,7 @@ struct dai {
int sref; /**< simple ref counter, guarded by lock */ int sref; /**< simple ref counter, guarded by lock */
struct dai_plat_data plat_data; struct dai_plat_data plat_data;
const struct dai_driver *drv; 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); void dai_put(struct dai *dai);
#define dai_set_drvdata(dai, data) \ #define dai_set_drvdata(dai, data) \
(dai->private = data) (dai->priv_data = data)
#define dai_get_drvdata(dai) \ #define dai_get_drvdata(dai) \
dai->private dai->priv_data
#define dai_base(dai) \ #define dai_base(dai) \
dai->plat_data.base dai->plat_data.base
#define dai_irq(dai) \ #define dai_irq(dai) \