diff --git a/host/libraries/libbladeRF/src/driver/fx3_fw.c b/host/libraries/libbladeRF/src/driver/fx3_fw.c index e1b8efa3..423322ba 100644 --- a/host/libraries/libbladeRF/src/driver/fx3_fw.c +++ b/host/libraries/libbladeRF/src/driver/fx3_fw.c @@ -336,7 +336,7 @@ bool fx3_fw_next_section(struct fx3_firmware *fw, uint32_t *section_addr, return true; } -uint32_t fx3_fw_entry_point(struct fx3_firmware *fw) +uint32_t fx3_fw_entry_point(const struct fx3_firmware *fw) { assert(fw != NULL); return fw->entry_addr; diff --git a/host/libraries/libbladeRF/src/driver/fx3_fw.h b/host/libraries/libbladeRF/src/driver/fx3_fw.h index e4956c6c..ea112a53 100644 --- a/host/libraries/libbladeRF/src/driver/fx3_fw.h +++ b/host/libraries/libbladeRF/src/driver/fx3_fw.h @@ -72,6 +72,6 @@ bool fx3_fw_next_section(struct fx3_firmware *fw, uint32_t *section_addr, /** * @return The 32-bit little-endian address of the firmware entry point. */ -uint32_t fx3_fw_entry_point(struct fx3_firmware *fw); +uint32_t fx3_fw_entry_point(const struct fx3_firmware *fw); #endif