bootsource: point bootsource_set() kernel-doc at /chosen
PATCH 1/1 bootsource: point bootsource_set() kernel-doc at /chosen
Commit cf893b54e65c ("bootsource: use /chosen instead of /aliases/barebox,bootsource-") moved the barebox,bootsource-* properties to /chosen, but the bootsource_set() kernel-doc still points at /aliases. Let's fix that and the name of bootsource_set_raw() next to it.
--- include/bootsource.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/bootsource.h +2 -2
@@ -43,11 +43,11 @@ int bootsource_of_node_set(struct device_node *np);* * Returns computed bootsource instace * -* Normal bootsource_set_raw_instance() expects numbering used by +* Normal bootsource_set_raw() expects numbering used by * bootrom for instance to align with DT aliases, e.g. * $bootsource = "mmc" && $bootsource_instance = 1 -> /aliases/mmc1 * bootsource_set() will instead consult -* /aliases/barebox,bootsource-mmc1 which may point at a different +* /chosen/barebox,bootsource-mmc1 which may point at a different * device than mmc1. In absence of appropriate barebox,bootsource-* * chosen property, instance is set without translation. */
Signature · 1 line
2.47.3
Sascha Hauer
AppliedQuoted 8 lines · Ahmad Fatoum
Commit
cf893b54e65c("bootsource: use /chosen instead of /aliases/barebox,bootsource-") moved the barebox,bootsource-* properties to /chosen, but thebootsource_set()kernel-doc still points at /aliases. Let's fix that and the name ofbootsource_set_raw()next to it.[...]
Applied, thanks!
[1/1] bootsource: point bootsource_set() kernel-doc at /chosen
https://git.pengutronix.de/cgit/barebox/commit/?id=8edac5c8b862 (link may not be stable)
Best regards,
Signature · 1 line
Sascha Hauer <[email protected]>