summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sandbox/board/hostfile.c1
1 files changed, 1 insertions, 0 deletions
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)