mac802154: declare struct ieee802154_ops as const
authorAlexander Aring <alex.aring@gmail.com>
Tue, 28 Oct 2014 17:21:18 +0000 (18:21 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 28 Oct 2014 22:19:07 +0000 (23:19 +0100)
commit16301861004e50be9c47113cceca62f56516a9a2
tree775e43ecec473f9d14cc11bd891aa93d2276ca78
parent19ec690a431d8ebf3e9d939160dc223ad40d7d63
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>
drivers/net/ieee802154/at86rf230.c
drivers/net/ieee802154/cc2520.c
drivers/net/ieee802154/fakelb.c
drivers/net/ieee802154/mrf24j40.c
include/net/mac802154.h
net/mac802154/ieee802154_i.h
net/mac802154/main.c