mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
ieee802154: 6lowpan: make header_ops const
Make this const as it is only stored as a reference in a const field of a net_device structure. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Acked-by: Stefan Schmidt <stefan@osg.samsung.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
f00c2987bf
commit
96a1c173ea
@ -54,7 +54,7 @@
|
||||
|
||||
static int open_count;
|
||||
|
||||
static struct header_ops lowpan_header_ops = {
|
||||
static const struct header_ops lowpan_header_ops = {
|
||||
.create = lowpan_header_create,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user