summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-10-27 08:12:36 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-10-27 08:12:36 +0200
commit3cf9f07f57c538b3eae153b63002812e186199cb (patch)
treeb770e3a806ebe78db9dc9309d3bf1d948eeb6e19 /lib
parent002c8aea27616416be029ca0ec15e42f023fbd69 (diff)
parent238e4b5279fa6ad239f39d6920fd0f17e3d286a6 (diff)
downloadbarebox-3cf9f07f57c538b3eae153b63002812e186199cb.tar.gz
barebox-3cf9f07f57c538b3eae153b63002812e186199cb.tar.xz
Merge branch 'for-next/mtd'
Diffstat (limited to 'lib')
-rw-r--r--lib/bootstrap/devfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bootstrap/devfs.c b/lib/bootstrap/devfs.c
index 603e6744f2..b127b27c1d 100644
--- a/lib/bootstrap/devfs.c
+++ b/lib/bootstrap/devfs.c
@@ -88,8 +88,7 @@ void* bootstrap_read_devfs(char *devname, bool use_bb, int offset,
struct cdev *cdev, *partition;
char *partname = "x";
- partition = devfs_add_partition(devname, offset, max_size,
- DEVFS_PARTITION_FIXED, partname);
+ partition = devfs_add_partition(devname, offset, max_size, 0, partname);
if (IS_ERR(partition)) {
bootstrap_err("%s: failed to add partition (%ld)\n",
devname, PTR_ERR(partition));