From: Sascha Hauer Date: Wed, 11 Jun 2008 16:42:14 +0200 Subject: [U-Boot-Users] [Patch] U-Boot-V2: Board: SDP3430: fix ram driver for ioctl, open, close change In-Reply-To: <7A436F7769CA33409C6B44B358BFFF0CD2FBEBAE@dlee02.ent.ti.com> References: <7A436F7769CA33409C6B44B358BFFF0CD2FBEBAE@dlee02.ent.ti.com> Message-ID: <20080611144214.GG13036@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > --- > 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/ <-