Skip to content

Commit

Permalink
ieee802154: 6lowpan: make header_ops const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bhumika Goyal authored and Marcel Holtmann committed Aug 25, 2017
1 parent f00c298 commit 96a1c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ieee802154/6lowpan/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 96a1c17

Please sign in to comment.