summaryrefslogtreecommitdiffstats
path: root/include/driver.h
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-02-26 12:06:57 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-27 09:20:28 +0100
commit2d2d9718fae94a95008edbef30728cb3acb6d14b (patch)
tree6bb82b9fa85c1903a1af85c2eef994a2616cf811 /include/driver.h
parentb80114fd918cb46b6da4cd411e0e2c39d7498d61 (diff)
downloadbarebox-2d2d9718fae94a95008edbef30728cb3acb6d14b.tar.gz
barebox-2d2d9718fae94a95008edbef30728cb3acb6d14b.tar.xz
include: Drop mem_memmap()
Drop what looks like a leftover function prototype. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/driver.h')
-rw-r--r--include/driver.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/driver.h b/include/driver.h
index a8e046ed7f..aa63a35158 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -352,7 +352,6 @@ struct cdev;
/* These are used by drivers which work with direct memory accesses */
ssize_t mem_read(struct cdev *cdev, void *buf, size_t count, loff_t offset, ulong flags);
ssize_t mem_write(struct cdev *cdev, const void *buf, size_t count, loff_t offset, ulong flags);
-int mem_memmap(struct cdev *cdev, void **map, int flags);
/* Use this if you have nothing to do in your drivers probe function */
int dummy_probe(struct device_d *);