diff options
author | Simon Glass <sjg@chromium.org> | 2014-06-11 23:29:45 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-06-20 11:55:18 -0600 |
commit | ae7f4513087e7f7996cebc9db642917dde9ea561 (patch) | |
tree | adea348bafc0fdb98c684d32b943637515e4843a /drivers/demo | |
parent | 5957ac2a9f668370bfcd9e5520de4bde346878a4 (diff) | |
download | u-boot-ae7f4513087e7f7996cebc9db642917dde9ea561.tar.gz |
dm: Rename struct device_id to udevice_id
It is best to avoid having any occurence of 'struct device' in driver
model, so rename to achieve this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/demo')
-rw-r--r-- | drivers/demo/demo-shape.c | 2 | ||||
-rw-r--r-- | drivers/demo/demo-simple.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/demo/demo-shape.c b/drivers/demo/demo-shape.c index a68cc1092c..3fa9c59947 100644 --- a/drivers/demo/demo-shape.c +++ b/drivers/demo/demo-shape.c @@ -111,7 +111,7 @@ static int shape_ofdata_to_platdata(struct udevice *dev) return 0; } -static const struct device_id demo_shape_id[] = { +static const struct udevice_id demo_shape_id[] = { { "demo-shape", 0 }, { }, }; diff --git a/drivers/demo/demo-simple.c b/drivers/demo/demo-simple.c index 11def86032..2bcb7dfb47 100644 --- a/drivers/demo/demo-simple.c +++ b/drivers/demo/demo-simple.c @@ -32,7 +32,7 @@ static int demo_shape_ofdata_to_platdata(struct udevice *dev) return demo_parse_dt(dev); } -static const struct device_id demo_shape_id[] = { +static const struct udevice_id demo_shape_id[] = { { "demo-simple", 0 }, { }, }; |