summaryrefslogtreecommitdiff
path: root/include/i2s.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-10 20:37:32 +0300
committerSimon Glass <sjg@chromium.org>2018-12-14 02:32:49 +0300
commit45863db5a97360b6843a0488621342819e9a6e62 (patch)
tree964a0db523c449be90b6d82b37baf8345cfd90a1 /include/i2s.h
parent2a0495724133058ab7c6aa1e8dc9433344d45231 (diff)
downloadu-boot-45863db5a97360b6843a0488621342819e9a6e62.tar.xz
dm: sound: Rename samsung_i2s_priv to i2s_uc_priv
This structure contains information that is likely needed by any i2s driver so it seems useful to attach it to the (forthcoming) i2c uclass. For now, just rename it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/i2s.h')
-rw-r--r--include/i2s.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/i2s.h b/include/i2s.h
index 800473abd9..f23862ca04 100644
--- a/include/i2s.h
+++ b/include/i2s.h
@@ -76,7 +76,7 @@ struct i2s_reg {
};
/* This structure stores the i2s related information */
-struct samsung_i2s_priv {
+struct i2s_uc_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,7 +96,7 @@ struct samsung_i2s_priv {
*
* @return int value 0 for success, -1 in case of error
*/
-int i2s_transfer_tx_data(struct samsung_i2s_priv *pi2s_tx, uint *data,
+int i2s_transfer_tx_data(struct i2s_uc_priv *pi2s_tx, unsigned int *data,
unsigned long data_size);
/*
@@ -106,6 +106,6 @@ int i2s_transfer_tx_data(struct samsung_i2s_priv *pi2s_tx, uint *data,
*
* @return int value 0 for success, -1 in case of error
*/
-int i2s_tx_init(struct samsung_i2s_priv *pi2s_tx);
+int i2s_tx_init(struct i2s_uc_priv *pi2s_tx);
#endif /* __I2S_H__ */