diff options
author | Heiko Schocher <hs@denx.de> | 2014-05-22 12:43:05 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-05-27 10:21:32 -0400 |
commit | 54c5d08a09e631f88738db54c75395c6457c2157 (patch) | |
tree | 989241d18408f19062618bc380ef5948154f2334 /include/dm/lists.h | |
parent | 9665fa8f9e1488209d5e01d0792c243e0a220c5a (diff) | |
download | u-boot-54c5d08a09e631f88738db54c75395c6457c2157.tar.gz |
dm: rename device struct to udevice
using UBI and DM together leads in compiler error, as
both define a "struct device", so rename "struct device"
in include/dm/device.h to "struct udevice", as we use
linux code (MTD/UBI/UBIFS some USB code,...) and cannot
change the linux "struct device"
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/dm/lists.h')
-rw-r--r-- | include/dm/lists.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dm/lists.h b/include/dm/lists.h index 0d09f9a14f..7feba4b00f 100644 --- a/include/dm/lists.h +++ b/include/dm/lists.h @@ -32,8 +32,8 @@ struct driver *lists_driver_lookup_name(const char *name); */ struct uclass_driver *lists_uclass_lookup(enum uclass_id id); -int lists_bind_drivers(struct device *parent); +int lists_bind_drivers(struct udevice *parent); -int lists_bind_fdt(struct device *parent, const void *blob, int offset); +int lists_bind_fdt(struct udevice *parent, const void *blob, int offset); #endif |