aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass2020-12-22 19:30:23 -0700
committerSimon Glass2021-01-05 12:24:40 -0700
commit9c503137b73534c3b5abb90691b4d9675b1cdead (patch)
treed9670836745e1b1f960985ad7a0edd262b111c8b /include
parent45ad176a7608c20162c4bc0895f2f31d0f773379 (diff)
dm: core: Use 'uclass_driver' for the uclass linker_list
At present the name 'uclass_driver' is used for the uclass linker list. This does not follow the convention of using the struct name. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/dm/uclass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/uclass.h b/include/dm/uclass.h
index 91edbfb47d4..fde08fe157a 100644
--- a/include/dm/uclass.h
+++ b/include/dm/uclass.h
@@ -112,7 +112,7 @@ struct uclass_driver {
/* Declare a new uclass_driver */
#define UCLASS_DRIVER(__name) \
- ll_entry_declare(struct uclass_driver, __name, uclass)
+ ll_entry_declare(struct uclass_driver, __name, uclass_driver)
/**
* uclass_get() - Get a uclass based on an ID, creating it if needed