[U-Boot-Users] [Patch] U-Boot-V2: Board: SDP3430: fix ram driver for ioctl, open, close change

Sascha Hauer s.hauer at pengutronix.de
Wed Jun 11 16:42:14 CEST 2008


Hi,

On Tue, Jun 10, 2008 at 01:11:38PM -0500, Menon, Nishanth wrote:
> Commit ee6d36a5405305f3bbdb0457948c219731b3d9cc introduced requirement for default functions be registered. Without this accessing /dev/ram0 will not work on SDP3430 in the default config.

In your patch tabs are replaced by whitespaces, so it does not apply.
Fixed and applied, but I won't do this for a longer patch ;)

Regards,
  Sascha

> 
> Signed-off-by: Nishanth Menon<x0nishan at ti.com>
> 
> ---
>  board/omap/board-sdp343x.c |    3 +++
>  1 file changed, 3 insertions(+)
> 
> Index: u-boot-v2.git/board/omap/board-sdp343x.c
> ===================================================================
> --- u-boot-v2.git.orig/board/omap/board-sdp343x.c       2008-06-10 13:03:29.000000000 -0500
> +++ u-boot-v2.git/board/omap/board-sdp343x.c    2008-06-10 13:03:56.000000000 -0500
> @@ -656,8 +656,11 @@
>  static struct driver_d ram_drv = {
>         .name = "ram",
>         .probe = dummy_probe,
> +       .open  = dev_open_default,
> +       .close = dev_close_default,
>         .read = mem_read,
>         .write = mem_write,
> +       .lseek  = dev_lseek_default,
>         .type = DEVICE_TYPE_DRAM,
>  };
>  #endif
> 

-- 
Pengutronix e.K. - Linux Solutions for Science and Industry
-----------------------------------------------------------
Kontakt-Informationen finden Sie im Header dieser Mail oder
auf der Webseite -> http://www.pengutronix.de/impressum/ <-




More information about the U-Boot mailing list