summaryrefslogtreecommitdiff
path: root/net/bluetooth/hidp/hidp.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-08-17 04:44:35 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2018-09-10 19:41:07 +0300
commit535221481a8ed131e75c7f04c22298411b5abe32 (patch)
tree8cca21f265749b7cdd727fc5839a0165e2a85017 /net/bluetooth/hidp/hidp.h
parent89c0c24b4fa137cc846f50b3595f42e5f19da13b (diff)
downloadlinux-535221481a8ed131e75c7f04c22298411b5abe32.tar.xz
hidp: constify hidp_connection_add()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/bluetooth/hidp/hidp.h')
-rw-r--r--net/bluetooth/hidp/hidp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hidp/hidp.h b/net/bluetooth/hidp/hidp.h
index 8798492a6e99..6ef88d0a1919 100644
--- a/net/bluetooth/hidp/hidp.h
+++ b/net/bluetooth/hidp/hidp.h
@@ -122,7 +122,7 @@ struct hidp_connlist_req {
struct hidp_conninfo __user *ci;
};
-int hidp_connection_add(struct hidp_connadd_req *req, struct socket *ctrl_sock, struct socket *intr_sock);
+int hidp_connection_add(const struct hidp_connadd_req *req, struct socket *ctrl_sock, struct socket *intr_sock);
int hidp_connection_del(struct hidp_conndel_req *req);
int hidp_get_connlist(struct hidp_connlist_req *req);
int hidp_get_conninfo(struct hidp_conninfo *ci);