summaryrefslogtreecommitdiff
path: root/drivers/demo
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-07-23 12:55:24 (GMT)
committerSimon Glass <sjg@chromium.org>2014-07-23 13:08:37 (GMT)
commit74f96dada18edd3ebd4a1c5d39edc806a17eefcc (patch)
treef9fb9bdd34a9a455a2815f919c0d3294da7cebb9 /drivers/demo
parentbb58503d80808b973950ca425c7fb0bc6172a2bd (diff)
downloadu-boot-74f96dada18edd3ebd4a1c5d39edc806a17eefcc.tar.xz
dm: Give the demo uclass a name
Uclasses should be named, so add a name for the demo uclass. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/demo')
-rw-r--r--drivers/demo/demo-uclass.c1
1 files changed, 1 insertions, 0 deletions
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,
};