summaryrefslogtreecommitdiff
path: root/src/lib/boot_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/boot_device.c')
-rw-r--r--src/lib/boot_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/boot_device.c b/src/lib/boot_device.c
index 429a6d8710..e91a97f461 100644
--- a/src/lib/boot_device.c
+++ b/src/lib/boot_device.c
@@ -20,7 +20,7 @@ void __weak boot_device_init(void)
/* Provide weak do-nothing init. */
}
-int __weak boot_device_wp_region(struct region_device *rd,
+int __weak boot_device_wp_region(const struct region_device *rd,
const enum bootdev_prot_type type)
{
/* return a failure, make aware WP is not implemented */