diff options
| author | Ben Hutchings <[email protected]> | 2010-01-29 20:58:37 +0000 |
|---|---|---|
| committer | David Woodhouse <[email protected]> | 2010-02-25 11:53:00 +0000 |
| commit | cbfe93e9cedfcd59689bad9e67f57ef67545e5a0 (patch) | |
| tree | 32c6c213dc377f10198988c1e226a59ae22d974d /tools/perf/scripts/python | |
| parent | 24c15496771ea1f3902dee23f746042ba34dc2b8 (diff) | |
mtd: mtdblock: Dynamically allocate cache info structures
Since we allocate struct mtd_blktrans_dev for each block device, we
can add our own structure members to the end. Therefore embed
struct mtd_blktrans_dev in struct mtdblk_dev and remove the static
array of struct mtdblk_dev. Also remove the redundant pointer to
struct mtd_info.
This is preparation for removing the static limit on the number of MTD
devices.
Signed-off-by: Ben Hutchings <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions