fix red from #641e91aa2f
Change-Id: I7e648a7bdf1d706258afd49c1edd63655b2d2830
This commit is contained in:
parent
641e91aa2f
commit
255a34c685
2 changed files with 3 additions and 2 deletions
|
@ -4986,6 +4986,7 @@ do{ \
|
|||
#define IPU_V_BASE 0xB3080000
|
||||
#define IPU__SIZE 0x00001000
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
struct ipu_module
|
||||
{
|
||||
unsigned int reg_ctrl; // 0x0
|
||||
|
@ -5022,7 +5023,7 @@ struct Ration2m
|
|||
float ratio;
|
||||
int n, m;
|
||||
};
|
||||
|
||||
#endif /* !__ASSEMBLY__ */
|
||||
|
||||
// Register offset
|
||||
#define REG_CTRL 0x0
|
||||
|
|
|
@ -533,7 +533,7 @@ static void serial_setbrg(void)
|
|||
*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_lcr = (volatile u8 *)(CFG_UART_BASE + OFF_LCR);
|
||||
|
|
Loading…
Reference in a new issue