diff options
author | 2018-10-28 15:27:55 +0100 | |
---|---|---|
committer | 2019-04-08 10:21:13 +0200 | |
commit | eeab717483e5fb529c8001d36fbda14011905e5f (patch) | |
tree | 370fe60ea2de0ee3d6847dad53ba2abeea8c1b71 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: rawnand: Initialize the nand_device object (diff) | |
download | linux-dev-eeab717483e5fb529c8001d36fbda14011905e5f.tar.xz linux-dev-eeab717483e5fb529c8001d36fbda14011905e5f.zip |
mtd: rawnand: Provide a helper to get chip->data_buf
We plan to move cache related fields to a pagecache struct in nand_chip
but some drivers access ->pagebuf directly to invalidate the cache
before they start using ->data_buf.
Let's provide an helper that returns a pointer to ->data_buf after
invalidating the cache.
Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions