mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 11:05:53 -04:00
i2c: iproc: Use u32 instead of uint32_t
In the kernel u32 should be used instead of unit32_t. Link: https://lore.kernel.org/r/20250418211635.2666234-4-andi.shyti@kernel.org Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
This commit is contained in:
@@ -542,7 +542,7 @@ static bool bcm_iproc_i2c_slave_isr(struct bcm_iproc_i2c_dev *iproc_i2c,
|
||||
static void bcm_iproc_i2c_read_valid_bytes(struct bcm_iproc_i2c_dev *iproc_i2c)
|
||||
{
|
||||
struct i2c_msg *msg = iproc_i2c->msg;
|
||||
uint32_t val;
|
||||
u32 val;
|
||||
|
||||
/* Read valid data from RX FIFO */
|
||||
while (iproc_i2c->rx_bytes < msg->len) {
|
||||
@@ -977,7 +977,7 @@ static int bcm_iproc_i2c_xfer(struct i2c_adapter *adapter,
|
||||
return num;
|
||||
}
|
||||
|
||||
static uint32_t bcm_iproc_i2c_functionality(struct i2c_adapter *adap)
|
||||
static u32 bcm_iproc_i2c_functionality(struct i2c_adapter *adap)
|
||||
{
|
||||
u32 val;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user