X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fbluetooth%2Fcmtp%2Fsock.c;h=10ad7fd91d833f26a188b073d46fea1ed1d2cd16;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=beb045bf5714bd54e4b9d60fef75498959a31b2c;hpb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;p=linux-2.6.git diff --git a/net/bluetooth/cmtp/sock.c b/net/bluetooth/cmtp/sock.c index beb045bf5..10ad7fd91 100644 --- a/net/bluetooth/cmtp/sock.c +++ b/net/bluetooth/cmtp/sock.c @@ -20,10 +20,10 @@ SOFTWARE IS DISCLAIMED. */ -#include #include #include +#include #include #include #include @@ -137,7 +137,7 @@ static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long return -EINVAL; } -static struct proto_ops cmtp_sock_ops = { +static const struct proto_ops cmtp_sock_ops = { .family = PF_BLUETOOTH, .owner = THIS_MODULE, .release = cmtp_sock_release,