diff options
author | Boris Brezillon <bbrezillon@kernel.org> | 2018-10-28 15:27:55 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-04-08 10:21:13 +0200 |
commit | eeab717483e5fb529c8001d36fbda14011905e5f (patch) | |
tree | 370fe60ea2de0ee3d6847dad53ba2abeea8c1b71 /include/dt-bindings/clock | |
parent | a7ab085d7c16a7367a0c93ee39d0750d23b537f9 (diff) | |
download | linux-eeab717483e5fb529c8001d36fbda14011905e5f.tar.bz2 |
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 'include/dt-bindings/clock')
0 files changed, 0 insertions, 0 deletions