diff options
author | Tudor Ambarus <tudor.ambarus@linaro.org> | 2025-03-07 10:09:05 +0300 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@linaro.org> | 2025-03-18 08:59:29 +0300 |
commit | fafa240a179886b387de9e81ce26688d2ca99ad1 (patch) | |
tree | 18c1401e7502f271e47843fd452fd094a2b17cbb /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 93020292fea71d62dc9749745d8ba1b44268a2fc (diff) | |
download | linux-fafa240a179886b387de9e81ce26688d2ca99ad1.tar.xz |
mtd: spi-nor: explicitly include <linux/of.h>
The core driver is using of_property_read_bool() and relies on implicit
inclusion of <linux/of.h>, which comes from <linux/mtd/mtd.h>.
It is good practice to directly include all headers used, it avoids
implicit dependencies and spurious breakage if someone rearranges
headers and causes the implicit include to vanish.
Include the missing header.
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20250307-spi-nor-headers-cleanup-v1-1-c186a9511c1e@linaro.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions