mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] sandbox: allow lseek on host files
@ 2011-05-17 11:53 Peter Korsgaard
  0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2011-05-17 11:53 UTC (permalink / raw)
  To: barebox

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 arch/sandbox/board/hostfile.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/sandbox/board/hostfile.c b/arch/sandbox/board/hostfile.c
index e460d0a..b049baa 100644
--- a/arch/sandbox/board/hostfile.c
+++ b/arch/sandbox/board/hostfile.c
@@ -66,6 +66,7 @@ static void hf_info(struct device_d *dev)
 static struct file_operations hf_fops = {
 	.read  = hf_read,
 	.write = hf_write,
+	.lseek = dev_lseek_default,
 };
 
 static int hf_probe(struct device_d *dev)
-- 
1.7.4.4


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-17 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-17 11:53 [PATCH] sandbox: allow lseek on host files Peter Korsgaard

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