dm: sound: Rename samsung_i2s_priv to i2s_uc_priv
[oweals/u-boot.git] / include / i2s.h
index 8dd2cc388ab0455646d866e3bd1c297280229f34..f23862ca040636385e6b1053a877d0a8c55c5db7 100644 (file)
@@ -1,8 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2012 Samsung Electronics
  * R. Chandrasekar <rcsekar@samsung.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __I2S_H__
@@ -77,7 +76,7 @@ struct i2s_reg {
 };
 
 /* This structure stores the i2s related information */
-struct i2stx_info {
+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 */
@@ -97,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 i2s_uc_priv *pi2s_tx, unsigned int *data,
+                        unsigned long data_size);
 
 /*
  * Initialise i2s transmiter
@@ -107,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 i2s_uc_priv *pi2s_tx);
 
 #endif /* __I2S_H__ */