summaryrefslogtreecommitdiff
path: root/include/i2s.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-03 04:37:22 -0700
committerSimon Glass <sjg@chromium.org>2018-12-13 16:32:49 -0700
commitccf0425e3208cbc17f08411651c1197da3b38f3a (patch)
tree76a2c8e302615ee7e7f42c2c11de979b48986730 /include/i2s.h
parentd2eab333a7fe83eb6bfcc1b4b8a522ce1aa4d761 (diff)
downloadu-boot-ccf0425e3208cbc17f08411651c1197da3b38f3a.tar.gz
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 'include/i2s.h')
-rw-r--r--include/i2s.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/i2s.h b/include/i2s.h
index e6d45ec26d..800473abd9 100644
--- a/include/i2s.h
+++ b/include/i2s.h
@@ -76,7 +76,7 @@ struct i2s_reg {
};
/* This structure stores the i2s related information */
-struct i2stx_info {
+struct samsung_i2s_priv {
unsigned int rfs; /* LR clock frame size */
unsigned int bfs; /* Bit slock frame size */
unsigned int audio_pll_clk; /* Audio pll frequency in Hz */
@@ -96,8 +96,8 @@ struct i2stx_info {
*
* @return int value 0 for success, -1 in case of error
*/
-int i2s_transfer_tx_data(struct i2stx_info *pi2s_tx, unsigned *data,
- unsigned long data_size);
+int i2s_transfer_tx_data(struct samsung_i2s_priv *pi2s_tx, uint *data,
+ unsigned long data_size);
/*
* Initialise i2s transmiter
@@ -106,6 +106,6 @@ int i2s_transfer_tx_data(struct i2stx_info *pi2s_tx, unsigned *data,
*
* @return int value 0 for success, -1 in case of error
*/
-int i2s_tx_init(struct i2stx_info *pi2s_tx);
+int i2s_tx_init(struct samsung_i2s_priv *pi2s_tx);
#endif /* __I2S_H__ */