summaryrefslogtreecommitdiff
path: root/drivers/demo
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-07-23 06:55:24 -0600
committerSimon Glass <sjg@chromium.org>2014-07-23 14:08:37 +0100
commit74f96dada18edd3ebd4a1c5d39edc806a17eefcc (patch)
treef9fb9bdd34a9a455a2815f919c0d3294da7cebb9 /drivers/demo
parentbb58503d80808b973950ca425c7fb0bc6172a2bd (diff)
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 636fd8831f5..f6510d602c8 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,
};