summaryrefslogtreecommitdiff
path: root/test/dm/test-fdt.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-06-11 23:29:45 -0600
committerSimon Glass <sjg@chromium.org>2014-06-20 11:55:18 -0600
commitae7f4513087e7f7996cebc9db642917dde9ea561 (patch)
treeadea348bafc0fdb98c684d32b943637515e4843a /test/dm/test-fdt.c
parent5957ac2a9f668370bfcd9e5520de4bde346878a4 (diff)
downloadu-boot-imx-ae7f4513087e7f7996cebc9db642917dde9ea561.zip
u-boot-imx-ae7f4513087e7f7996cebc9db642917dde9ea561.tar.gz
u-boot-imx-ae7f4513087e7f7996cebc9db642917dde9ea561.tar.bz2
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 'test/dm/test-fdt.c')
-rw-r--r--test/dm/test-fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/test-fdt.c b/test/dm/test-fdt.c
index 6eccf11..98e3936 100644
--- a/test/dm/test-fdt.c
+++ b/test/dm/test-fdt.c
@@ -53,7 +53,7 @@ static int testfdt_drv_probe(struct udevice *dev)
return 0;
}
-static const struct device_id testfdt_ids[] = {
+static const struct udevice_id testfdt_ids[] = {
{
.compatible = "denx,u-boot-fdt-test",
.data = DM_TEST_TYPE_FIRST },