diff --git a/hif/inc/regtable_pcie.h b/hif/inc/regtable_pcie.h index 87d55c52bf..9dcb9e7d27 100644 --- a/hif/inc/regtable_pcie.h +++ b/hif/inc/regtable_pcie.h @@ -740,7 +740,7 @@ struct tgt_reg_section { }; struct tgt_reg_table { - struct tgt_reg_section *section; + const struct tgt_reg_section *section; uint32_t section_size; }; diff --git a/hif/src/sdio/regtable_sdio.h b/hif/src/sdio/regtable_sdio.h index 7b03208b78..d6b30fb160 100644 --- a/hif/src/sdio/regtable_sdio.h +++ b/hif/src/sdio/regtable_sdio.h @@ -879,7 +879,7 @@ struct tgt_reg_section { struct tgt_reg_table { - struct tgt_reg_section *section; + const struct tgt_reg_section *section; uint32_t section_size; }; #endif /* _REGTABLE_SDIO_H_ */ diff --git a/hif/src/usb/regtable_usb.h b/hif/src/usb/regtable_usb.h index 1e5e49d7ed..4d17bcc0d5 100644 --- a/hif/src/usb/regtable_usb.h +++ b/hif/src/usb/regtable_usb.h @@ -1285,7 +1285,7 @@ struct tgt_reg_section { }; struct tgt_reg_table { - struct tgt_reg_section *section; + const struct tgt_reg_section *section; u_int32_t section_size; };