mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
wifi: brcmfmac: make per-vendor event map const
The event map is not intended to change so make it const. Tested-by: James Prestwood <prestwoj@gmail.com> Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Link: https://patch.msgid.link/20250425085519.492267-3-arend.vanspriel@broadcom.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
42f7e5bf30
commit
0b4b2e86a5
|
|
@ -337,7 +337,7 @@ struct brcmf_fweh_info {
|
|||
struct list_head event_q;
|
||||
uint event_mask_len;
|
||||
u8 *event_mask;
|
||||
struct brcmf_fweh_event_map *event_map;
|
||||
const struct brcmf_fweh_event_map *event_map;
|
||||
uint num_event_codes;
|
||||
brcmf_fweh_handler_t evt_handler[] __counted_by(num_event_codes);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user