mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
board: ti: am335x-ice: get CDCE913 clock device
With support for other clock drivers, the potentially supported CDCE913 device can no longer be probed without specifying its DT node name. Signed-off-by: Dario Binacchi <dariobin@libero.it>
This commit is contained in:
parent
260cbc9af2
commit
ba149a5b7b
|
@ -879,7 +879,7 @@ int board_late_init(void)
|
|||
}
|
||||
|
||||
/* Just probe the potentially supported cdce913 device */
|
||||
uclass_get_device(UCLASS_CLK, 0, &dev);
|
||||
uclass_get_device_by_name(UCLASS_CLK, "cdce913@65", &dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -744,7 +744,7 @@ int board_late_init(void)
|
|||
#endif
|
||||
|
||||
/* Just probe the potentially supported cdce913 device */
|
||||
uclass_get_device(UCLASS_CLK, 0, &dev);
|
||||
uclass_get_device_by_name(UCLASS_CLK, "cdce913@65", &dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user