Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Heiko Schocher's avatar
    54c5d08a
    dm: rename device struct to udevice · 54c5d08a
    Heiko Schocher authored
    
    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: default avatarHeiko Schocher <hs@denx.de>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Marek Vasut <marex@denx.de>
    54c5d08a
    History
    dm: rename device struct to udevice
    Heiko Schocher authored
    
    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: default avatarHeiko Schocher <hs@denx.de>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Marek Vasut <marex@denx.de>