diff --git a/fs/sandbox/Makefile b/fs/sandbox/Makefile index 54ad842d1fe..94f072a945f 100644 --- a/fs/sandbox/Makefile +++ b/fs/sandbox/Makefile @@ -9,4 +9,4 @@ # Pavel Bartusek, Sysgo Real-Time Solutions AG, pba@sysgo.de obj-y := sandboxfs.o -obj-$(CONFIG_$(PHASE_)BOOTSTD) += host_bootdev.o +obj-$(CONFIG_$(PHASE_)BOOTSTD) += hostfs_bootdev.o diff --git a/fs/sandbox/host_bootdev.c b/fs/sandbox/hostfs_bootdev.c similarity index 90% rename from fs/sandbox/host_bootdev.c rename to fs/sandbox/hostfs_bootdev.c index 3f74972a9f8..08dafafcef0 100644 --- a/fs/sandbox/host_bootdev.c +++ b/fs/sandbox/hostfs_bootdev.c @@ -38,7 +38,7 @@ static int host_get_bootflow(struct udevice *dev, struct bootflow_iter *iter, return 0; } -struct bootdev_ops host_bootdev_ops = { +static struct bootdev_ops host_bootdev_ops = { .get_bootflow = host_get_bootflow, }; @@ -47,8 +47,8 @@ static const struct udevice_id host_bootdev_ids[] = { { } }; -U_BOOT_DRIVER(host_bootdev) = { - .name = "host_bootdev", +U_BOOT_DRIVER(hostfs_bootdev) = { + .name = "hostfs_bootdev", .id = UCLASS_BOOTDEV, .ops = &host_bootdev_ops, .of_match = host_bootdev_ids,