libbladeRF/driver: fix const correctness of fx3_fw_entry_point()
This commit is contained in:
parent
a0fd5994c6
commit
ea94f58cfa
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue