libbladeRF/driver: fix const correctness of fx3_fw_entry_point()

This commit is contained in:
Vanya A. Sergeev 2017-05-11 00:39:09 -07:00 • committed by Robert Ghilduta
commit ea94f58cfa
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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