fix red from #641e91aa2f

Change-Id: I7e648a7bdf1d706258afd49c1edd63655b2d2830
This commit is contained in:
Solomon Peachy 2023-01-13 16:59:58 -05:00
parent 641e91aa2f
commit 255a34c685
2 changed files with 3 additions and 2 deletions

View file

@ -4986,6 +4986,7 @@ do{ \
#define IPU_V_BASE 0xB3080000 #define IPU_V_BASE 0xB3080000
#define IPU__SIZE 0x00001000 #define IPU__SIZE 0x00001000
#ifndef __ASSEMBLY__
struct ipu_module struct ipu_module
{ {
unsigned int reg_ctrl; // 0x0 unsigned int reg_ctrl; // 0x0
@ -5022,7 +5023,7 @@ struct Ration2m
float ratio; float ratio;
int n, m; int n, m;
}; };
#endif /* !__ASSEMBLY__ */
// Register offset // Register offset
#define REG_CTRL 0x0 #define REG_CTRL 0x0

View file

@ -533,7 +533,7 @@ static void serial_setbrg(void)
*uart_lcr = tmp; *uart_lcr = tmp;
} }
static int serial_preinit(void); static int serial_preinit(void)
{ {
volatile u8 *uart_fcr = (volatile u8 *)(CFG_UART_BASE + OFF_FCR); volatile u8 *uart_fcr = (volatile u8 *)(CFG_UART_BASE + OFF_FCR);
volatile u8 *uart_lcr = (volatile u8 *)(CFG_UART_BASE + OFF_LCR); volatile u8 *uart_lcr = (volatile u8 *)(CFG_UART_BASE + OFF_LCR);