summaryrefslogtreecommitdiff
path: root/include/i2s.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-07-23 06:55:20 -0600
committerSimon Glass <sjg@chromium.org>2014-07-23 14:08:37 +0100
commite59f458de6999b8a786da857e653db6777f675ca (patch)
tree0e57f9b83b6a484fce0543562c7c313e66b89c75 /include/i2s.h
parent997c87bb0b1981fd33e34cefc26d9138f27326ce (diff)
downloadu-boot-imx-e59f458de6999b8a786da857e653db6777f675ca.zip
u-boot-imx-e59f458de6999b8a786da857e653db6777f675ca.tar.gz
u-boot-imx-e59f458de6999b8a786da857e653db6777f675ca.tar.bz2
dm: Introduce per-child data for devices
Some device types can have child devices and want to store information about them. For example a USB flash stick attached to a USB host controller would likely use this space. The controller can hold information about the USB state of each of its children. The data is stored attached to the child device in the 'parent_priv' member. It can be auto-allocated by dm when the child is probed. To do this, add a per_child_auto_alloc_size value to the parent driver. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/i2s.h')
0 files changed, 0 insertions, 0 deletions