diff options
Diffstat (limited to 'patches/collateral-evolutions/network/81-genl-const/ieee802154.patch')
-rw-r--r-- | patches/collateral-evolutions/network/81-genl-const/ieee802154.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/81-genl-const/ieee802154.patch b/patches/collateral-evolutions/network/81-genl-const/ieee802154.patch new file mode 100644 index 00000000..8e9b226a --- /dev/null +++ b/patches/collateral-evolutions/network/81-genl-const/ieee802154.patch @@ -0,0 +1,20 @@ +--- a/net/ieee802154/netlink.c ++++ b/net/ieee802154/netlink.c +@@ -109,7 +109,7 @@ out: + return -ENOBUFS; + } + +-static const struct genl_ops ieee8021154_ops[] = { ++static __genl_const struct genl_ops ieee8021154_ops[] = { + /* see nl-phy.c */ + IEEE802154_DUMP(IEEE802154_LIST_PHY, ieee802154_list_phy, + ieee802154_dump_phy), +@@ -125,7 +125,7 @@ static const struct genl_ops ieee8021154 + ieee802154_dump_iface), + }; + +-static const struct genl_multicast_group ieee802154_mcgrps[] = { ++static __genl_const struct genl_multicast_group ieee802154_mcgrps[] = { + [IEEE802154_COORD_MCGRP] = { .name = IEEE802154_MCAST_COORD_NAME, }, + [IEEE802154_BEACON_MCGRP] = { .name = IEEE802154_MCAST_BEACON_NAME, }, + }; |