提交 96a1c173 编写于 作者: B Bhumika Goyal 提交者: Marcel Holtmann

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: NBhumika Goyal <bhumirks@gmail.com>
Acked-by: NStefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 f00c2987
......@@ -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,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册