mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] include: Drop mem_memmap()
@ 2019-02-26 20:06 Andrey Smirnov
  2019-02-27  7:36 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Smirnov @ 2019-02-26 20:06 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov

Drop what looks like a leftover function prototype.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 include/driver.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/driver.h b/include/driver.h
index 731116d8f..0ed830d29 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 *);
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] include: Drop mem_memmap()
  2019-02-26 20:06 [PATCH] include: Drop mem_memmap() Andrey Smirnov
@ 2019-02-27  7:36 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-02-27  7:36 UTC (permalink / raw)
  To: Andrey Smirnov; +Cc: barebox

On Tue, Feb 26, 2019 at 12:06:57PM -0800, Andrey Smirnov wrote:
> Drop what looks like a leftover function prototype.
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
>  include/driver.h | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/include/driver.h b/include/driver.h
> index 731116d8f..0ed830d29 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 *);
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-27  7:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-26 20:06 [PATCH] include: Drop mem_memmap() Andrey Smirnov
2019-02-27  7:36 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox