
9 Jul
2014
9 Jul
'14
5:38 a.m.
Uclasses should be named, so add a name for the demo uclass.
Signed-off-by: Simon Glass sjg@chromium.org ---
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