iwlwifi: make various things const
There are a number of things in the .data section that should really be in .rodata, for example all ops structs and strings. Mark everything const that can be, leaving the .data section pretty much empty. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Dieser Commit ist enthalten in:

committet von
Emmanuel Grumbach

Ursprung
5045388cee
Commit
e5209263df
@@ -304,7 +304,7 @@ struct iwl_trans_pcie {
|
||||
bool bc_table_dword;
|
||||
u32 rx_page_order;
|
||||
|
||||
const char **command_names;
|
||||
const char *const *command_names;
|
||||
|
||||
/* queue watchdog */
|
||||
unsigned long wd_timeout;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren