From c2bd07f6a971793a6f40f99963ad761064a26df5 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 17 May 2011 13:53:54 +0200 Subject: sandbox: allow lseek on host files Signed-off-by: Peter Korsgaard Signed-off-by: Sascha Hauer --- arch/sandbox/board/hostfile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/sandbox/board') diff --git a/arch/sandbox/board/hostfile.c b/arch/sandbox/board/hostfile.c index 38a52a886c..dbaadcc9c9 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) -- cgit v1.2.3