Compare base address instead of bus_handle.
This commit is contained in:
parent
c423dba334
commit
82df4f3134
@ -40,7 +40,7 @@ int
|
||||
uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2)
|
||||
{
|
||||
|
||||
return ((b1->bsh == b2->bsh && b1->bst == b2->bst) ? 1 : 0);
|
||||
return ((b1->iobase == b2->iobase && b1->bst == b2->bst) ? 1 : 0);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user