commit | 46779e8f8e5a13388835e9251fb741396e2d7f13 | [log] [tgz] |
---|---|---|
author | Milton Miller <miltonm@bga.com> | Sat Jul 07 01:18:49 2007 -0500 |
committer | Jon Loeliger <jdl@freescale.com> | Sat Jul 07 10:09:36 2007 -0500 |
tree | c0b0e0d8357050c1d57f14aeb91ba3b6e29d29b6 | |
parent | d4290338514abdfac372aa9a7af180543c0622ad [diff] |
dtc: clean up grow_data_for() Change the grow_data_for function to copy struct data and modifiy the fields it is updating instead of storing all fields individually to a stack allocated struct. This reduces maintence for future enhancements as now all instances of struct data are created by modifying a copy of an existing struct data or directly copying empty_data. Signed-off-by: Milton Miller <miltonm@bga.com>