]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: rename device struct to udevice
authorHeiko Schocher <hs@denx.de>
Thu, 22 May 2014 10:43:05 +0000 (12:43 +0200)
committerTom Rini <trini@ti.com>
Tue, 27 May 2014 14:21:32 +0000 (10:21 -0400)
commit54c5d08a09e631f88738db54c75395c6457c2157
tree989241d18408f19062618bc380ef5948154f2334
parent9665fa8f9e1488209d5e01d0792c243e0a220c5a
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>
30 files changed:
arch/sandbox/include/asm/gpio.h
common/cmd_demo.c
common/cmd_gpio.c
doc/driver-model/README.txt
drivers/core/device.c
drivers/core/lists.c
drivers/core/root.c
drivers/core/uclass.c
drivers/demo/demo-shape.c
drivers/demo/demo-simple.c
drivers/demo/demo-uclass.c
drivers/gpio/gpio-uclass.c
drivers/gpio/sandbox.c
include/asm-generic/global_data.h
include/asm-generic/gpio.h
include/dm-demo.h
include/dm/device-internal.h
include/dm/device.h
include/dm/lists.h
include/dm/root.h
include/dm/test.h
include/dm/uclass-internal.h
include/dm/uclass.h
test/dm/cmd_dm.c
test/dm/core.c
test/dm/gpio.c
test/dm/test-driver.c
test/dm/test-fdt.c
test/dm/test-main.c
test/dm/test-uclass.c