aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2010-11-23 17:02:13 -0200
committerDavid Woodhouse <[email protected]>2010-12-03 16:34:41 +0000
commit2ebf0622cdc5d2b51f22b68a0983d90df8a976c8 (patch)
tree9d3a658b2c839e98075b3faa06fd9b889a3d6c6e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parenteeda667a29698b9a4d16dce8979afc6f512f3c42 (diff)
mtd: mxc_nand: Fix warning on nr_parts unused variable
If CONFIG_MTD_PARTITIONS is not selected, then the following warning is generated: CC drivers/mtd/nand/mxc_nand.o drivers/mtd/nand/mxc_nand.c: In function 'mxcnd_probe': drivers/mtd/nand/mxc_nand.c:1014: warning: unused variable 'nr_parts' Fix it by marking nr_parts as __maybe_unused. Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions