Update has_rx_fifo and has_tx_fifo types from int to u32 in struct
axis_fifo.
The of_property_read_u32() function expects a pointer to u32. Although
the current code works correctly with int, using u32 aligns the data
structure with the Device Tree API and prevents potential
type-mismatch issues.
Signed-off-by: Gustavo Piaz da Silva <gustavopiazdasilva2102@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/20260223114207.3639-2-gustavopiazdasilva2102@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
unsigned int rx_fifo_depth;
unsigned int tx_fifo_depth;
- int has_rx_fifo;
- int has_tx_fifo;
+ u32 has_rx_fifo;
+ u32 has_tx_fifo;
wait_queue_head_t read_queue;
struct mutex read_lock; /* lock for reading */