There is no need to ever add new uclasses since these are set up at build time. Update the code to return an error if this is attempted.
Signed-off-by: Simon Glass <s...@chromium.org> --- (no changes since v1) drivers/core/uclass.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Applied to u-boot-dm/next, thanks!