summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/boot_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/boot_device.h b/src/include/boot_device.h
index c882968e58..f392c10148 100644
--- a/src/include/boot_device.h
+++ b/src/include/boot_device.h
@@ -65,7 +65,7 @@ int boot_device_rw_subregion(const struct region *sub,
* by the region device.
* Returns 0 on success, < 0 on error.
*/
-int boot_device_wp_region(struct region_device *rd,
+int boot_device_wp_region(const struct region_device *rd,
const enum bootdev_prot_type type);
/*