projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
genetlink: make all genl_ops users const
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
net
/
netlabel
/
netlabel_mgmt.c
diff --git
a/net/netlabel/netlabel_mgmt.c
b/net/netlabel/netlabel_mgmt.c
index
dd1c37d
..
7de6f66
100644
(file)
--- a/
net/netlabel/netlabel_mgmt.c
+++ b/
net/netlabel/netlabel_mgmt.c
@@
-705,7
+705,7
@@
version_failure:
* NetLabel Generic NETLINK Command Definitions
*/
* NetLabel Generic NETLINK Command Definitions
*/
-static struct genl_ops netlbl_mgmt_genl_ops[] = {
+static
const
struct genl_ops netlbl_mgmt_genl_ops[] = {
{
.cmd = NLBL_MGMT_C_ADD,
.flags = GENL_ADMIN_PERM,
{
.cmd = NLBL_MGMT_C_ADD,
.flags = GENL_ADMIN_PERM,