diff options
author | Simon Glass <sjg@chromium.org> | 2018-12-03 04:37:22 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-12-13 16:32:49 -0700 |
commit | ccf0425e3208cbc17f08411651c1197da3b38f3a (patch) | |
tree | 76a2c8e302615ee7e7f42c2c11de979b48986730 /drivers/sound/samsung-i2s.c | |
parent | d2eab333a7fe83eb6bfcc1b4b8a522ce1aa4d761 (diff) |
dm: sound: samsung: Rename i2stx_info to samsung_i2s_priv
This struct is only used by the Samsung I2C driver and should move into
that driver. For now, rename it so it is clear that is driver-private
info.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/sound/samsung-i2s.c')
-rw-r--r-- | drivers/sound/samsung-i2s.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/sound/samsung-i2s.c b/drivers/sound/samsung-i2s.c index 8f5cd191a2..7f4388137a 100644 --- a/drivers/sound/samsung-i2s.c +++ b/drivers/sound/samsung-i2s.c @@ -255,8 +255,8 @@ static int i2s_set_samplesize(struct i2s_reg *i2s_reg, unsigned int blc) return 0; } -int i2s_transfer_tx_data(struct i2stx_info *pi2s_tx, unsigned int *data, - unsigned long data_size) +int i2s_transfer_tx_data(struct samsung_i2s_priv *pi2s_tx, unsigned int *data, + unsigned long data_size) { int i; int start; @@ -293,7 +293,7 @@ int i2s_transfer_tx_data(struct i2stx_info *pi2s_tx, unsigned int *data, return 0; } -int i2s_tx_init(struct i2stx_info *pi2s_tx) +int i2s_tx_init(struct samsung_i2s_priv *pi2s_tx) { int ret; struct i2s_reg *i2s_reg = |