summaryrefslogtreecommitdiffstats
path: root/common/firmware.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-02-13 20:31:47 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-13 20:31:47 +0100
commit314ad8e28161be580af1271bdaf05a4c6e7f6bd1 (patch)
treea98f1b35cddef99c60fc255bc1ae5408974fc19f /common/firmware.c
parent3fe0effd52c960dc3dce0b731ef266113f2d1893 (diff)
parent504ac299a531a0bd601e6db05dc1c2d3b86a9700 (diff)
downloadbarebox-314ad8e28161be580af1271bdaf05a4c6e7f6bd1.tar.gz
Merge branch 'for-next/lseek'
Diffstat (limited to 'common/firmware.c')
-rw-r--r--common/firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/firmware.c b/common/firmware.c
index 250fef5..9d55d73 100644
--- a/common/firmware.c
+++ b/common/firmware.c
@@ -177,7 +177,7 @@ int firmwaremgr_register(struct firmware_handler *fh)
cdev = &mgr->cdev;
cdev->name = xstrdup(fh->id);
- cdev->size = FILE_SIZE_STREAM;
+ cdev->flags = DEVFS_IS_CHARACTER_DEV;
cdev->ops = &firmware_ops;
cdev->priv = mgr;
cdev->dev = fh->dev;