]> git.sur5r.net Git - u-boot/commitdiff
dm: Give the demo uclass a name
authorSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 12:55:24 +0000 (06:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 13:08:37 +0000 (14:08 +0100)
Uclasses should be named, so add a name for the demo uclass.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/demo/demo-uclass.c

index 636fd8831f5d152310cdd8d7cee1ac7e33c8b492..f6510d602c83472695065b66c0f01e55f75b881b 100644 (file)
@@ -19,6 +19,7 @@
 DECLARE_GLOBAL_DATA_PTR;
 
 UCLASS_DRIVER(demo) = {
+       .name           = "demo",
        .id             = UCLASS_DEMO,
 };