[U-Boot] [PATCH v3 29/29] dm: Give the demo uclass a name

Simon Glass sjg at chromium.org
Wed Jul 23 14:55:24 CEST 2014


Uclasses should be named, so add a name for the demo uclass.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v3: None
Changes in v2:
- Expand series to include all driver-model-required changes

 drivers/demo/demo-uclass.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/demo/demo-uclass.c b/drivers/demo/demo-uclass.c
index 636fd88..f6510d6 100644
--- a/drivers/demo/demo-uclass.c
+++ b/drivers/demo/demo-uclass.c
@@ -19,6 +19,7 @@
 DECLARE_GLOBAL_DATA_PTR;
 
 UCLASS_DRIVER(demo) = {
+	.name		= "demo",
 	.id		= UCLASS_DEMO,
 };
 
-- 
2.0.0.526.g5318336



More information about the U-Boot mailing list