summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/0027-genl-const/hwsim.patch
blob: 925b391f9ee9f391e8b31f2d5e1d76cb13e00f36 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -2478,7 +2478,7 @@ static int hwsim_destroy_radio_nl(struct
 }
 
 /* Generic Netlink operations array */
-static const struct genl_ops hwsim_ops[] = {
+static __genl_const struct genl_ops hwsim_ops[] = {
 	{
 		.cmd = HWSIM_CMD_REGISTER,
 		.policy = hwsim_genl_policy,