diff options
author | Simon Glass <sjg@chromium.org> | 2014-07-23 06:55:24 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-07-23 14:08:37 +0100 |
commit | 74f96dada18edd3ebd4a1c5d39edc806a17eefcc (patch) | |
tree | f9fb9bdd34a9a455a2815f919c0d3294da7cebb9 /drivers/demo/demo-uclass.c | |
parent | bb58503d80808b973950ca425c7fb0bc6172a2bd (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/demo-uclass.c')
-rw-r--r-- | drivers/demo/demo-uclass.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/demo/demo-uclass.c b/drivers/demo/demo-uclass.c index 636fd8831f..f6510d602c 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, }; |