summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2014-07-23 06:55:20 -0600
committerSimon Glass <[email protected]>2014-07-23 14:08:37 +0100
commite59f458de6999b8a786da857e653db6777f675ca (patch)
tree0e57f9b83b6a484fce0543562c7c313e66b89c75 /scripts/basic
parent997c87bb0b1981fd33e34cefc26d9138f27326ce (diff)
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 <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions