diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-11-19 19:28:39 -0800 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-12-04 15:28:56 -0800 |
commit | 2524534dbb2372a666f30e0da2f97cd7f0d7f76c (patch) | |
tree | e7ef0eae3314712a3d44e0a7b6c93fdfb8d8dcf9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d121b66d25adfa8b631dc59511ebc1d600ad5111 (diff) |
mtd: partitions: turn PART() macro into inline function
We can guard against reorganization of struct mtd_part by using
container_of(). We can also make sure we're using the right pointer
types by making this a static inline function instead of a macro.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions