zephyr: replace zephyr integer types with C99 types
git grep -l 'u\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g" git grep -l 's\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g" Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
ee6fa31af6
commit
a1b77fd589
2364 changed files with 32505 additions and 32505 deletions
|
@ -28,8 +28,8 @@
|
|||
|
||||
struct imx_uart_config {
|
||||
UART_Type *base;
|
||||
u32_t baud_rate;
|
||||
u8_t modem_mode;
|
||||
uint32_t baud_rate;
|
||||
uint8_t modem_mode;
|
||||
#ifdef CONFIG_UART_INTERRUPT_DRIVEN
|
||||
void (*irq_config_func)(struct device *dev);
|
||||
#endif
|
||||
|
@ -121,7 +121,7 @@ static int uart_imx_poll_in(struct device *dev, unsigned char *c)
|
|||
|
||||
#ifdef CONFIG_UART_INTERRUPT_DRIVEN
|
||||
|
||||
static int uart_imx_fifo_fill(struct device *dev, const u8_t *tx_data,
|
||||
static int uart_imx_fifo_fill(struct device *dev, const uint8_t *tx_data,
|
||||
int size)
|
||||
{
|
||||
UART_Type *uart = UART_STRUCT(dev);
|
||||
|
@ -137,7 +137,7 @@ static int uart_imx_fifo_fill(struct device *dev, const u8_t *tx_data,
|
|||
return (int)num_tx;
|
||||
}
|
||||
|
||||
static int uart_imx_fifo_read(struct device *dev, u8_t *rx_data,
|
||||
static int uart_imx_fifo_read(struct device *dev, uint8_t *rx_data,
|
||||
const int size)
|
||||
{
|
||||
UART_Type *uart = UART_STRUCT(dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue