diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-11-09 10:41:48 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-11-12 08:31:47 +0100 |
commit | c06801b31ad3ca075bc7f140dda047c384eb53e8 (patch) | |
tree | 1dac42972379925f047ed7656af2b7e3041dbe63 /include | |
parent | 57939a64df9f908aeb90fa7d00c827a96b3d7737 (diff) | |
download | barebox-c06801b31ad3ca075bc7f140dda047c384eb53e8.tar.gz barebox-c06801b31ad3ca075bc7f140dda047c384eb53e8.tar.xz |
nvmem: Add prototype for exported functions
nvmem_device_cell_read() and nvmem_device_cell_write() are exported, so
add a prototype to the header file.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nvmem-consumer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nvmem-consumer.h b/include/linux/nvmem-consumer.h index 0ec2f05b97..32ea46e3bf 100644 --- a/include/linux/nvmem-consumer.h +++ b/include/linux/nvmem-consumer.h @@ -40,6 +40,10 @@ int nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len); /* direct nvmem device read/write interface */ struct nvmem_device *nvmem_device_get(struct device_d *dev, const char *name); void nvmem_device_put(struct nvmem_device *nvmem); +ssize_t nvmem_device_cell_read(struct nvmem_device *nvmem, + struct nvmem_cell_info *info, void *buf); +int nvmem_device_cell_write(struct nvmem_device *nvmem, + struct nvmem_cell_info *info, void *buf); #else |