mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
NTB: Make the transport list in order of discovery
The list should be added from the bottom and not the top in order to ensure the transport is provided in the same order to clients as ntb devices are discovered. Signed-off-by: Dave Jiang <[email protected]> Signed-off-by: Jon Mason <[email protected]>
This commit is contained in:
parent
0a5d19d9f0
commit
315100004f
1 changed files with 1 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ static LIST_HEAD(ntb_transport_list);
|
|||
|
||||
static int ntb_bus_init(struct ntb_transport_ctx *nt)
|
||||
{
|
||||
list_add(&nt->entry, &ntb_transport_list);
|
||||
list_add_tail(&nt->entry, &ntb_transport_list);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue