mac802154: declare struct ieee802154_ops as const
The ieee802154_ops structure should be never changed during runtime. This patch declare this structure as const to avoid a runtime change. Signed-off-by:Alexander Aring <alex.aring@gmail.com> Cc: Alan Ott <alan@signal11.us> Signed-off-by:
Marcel Holtmann <marcel@holtmann.org>
Showing
- drivers/net/ieee802154/at86rf230.c 1 addition, 1 deletiondrivers/net/ieee802154/at86rf230.c
- drivers/net/ieee802154/cc2520.c 1 addition, 1 deletiondrivers/net/ieee802154/cc2520.c
- drivers/net/ieee802154/fakelb.c 1 addition, 1 deletiondrivers/net/ieee802154/fakelb.c
- drivers/net/ieee802154/mrf24j40.c 1 addition, 1 deletiondrivers/net/ieee802154/mrf24j40.c
- include/net/mac802154.h 1 addition, 1 deletioninclude/net/mac802154.h
- net/mac802154/ieee802154_i.h 1 addition, 1 deletionnet/mac802154/ieee802154_i.h
- net/mac802154/main.c 1 addition, 1 deletionnet/mac802154/main.c
Loading
Please register or sign in to comment