summaryrefslogtreecommitdiffstats
path: root/drivers/net/miiphy.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-10-19 15:58:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-10-19 15:58:53 +0200
commit15abc47dbae4a4f36c7fd6d6a43c96ee6ca880d9 (patch)
treef43aa7828b4e24fe2eb8439c5ad8bf87d95784a4 /drivers/net/miiphy.c
parentde4a08fdd087b005de9aa1a1dac453784014e1fc (diff)
downloadbarebox-15abc47dbae4a4f36c7fd6d6a43c96ee6ca880d9.tar.gz
barebox-15abc47dbae4a4f36c7fd6d6a43c96ee6ca880d9.tar.xz
miiphy: Add missing lseek function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/miiphy.c')
-rw-r--r--drivers/net/miiphy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/miiphy.c b/drivers/net/miiphy.c
index 64647bae00..12aa7a632c 100644
--- a/drivers/net/miiphy.c
+++ b/drivers/net/miiphy.c
@@ -171,6 +171,7 @@ static ssize_t miiphy_write(struct cdev *cdev, const void *_buf, size_t count, u
static struct file_operations miiphy_ops = {
.read = miiphy_read,
.write = miiphy_write,
+ .lseek = dev_lseek_default,
};
static int miiphy_probe(struct device_d *dev)