can: bcm: bcm_sock_no_ioctlcmd(): mark function as static
[linux-2.6-microblaze.git] / net / can / bcm.c
index bf1d0bb..eb1d28b 100644 (file)
@@ -1680,8 +1680,8 @@ static int bcm_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
        return size;
 }
 
-int bcm_sock_no_ioctlcmd(struct socket *sock, unsigned int cmd,
-                        unsigned long arg)
+static int bcm_sock_no_ioctlcmd(struct socket *sock, unsigned int cmd,
+                               unsigned long arg)
 {
        /* no ioctls for socket layer -> hand it down to NIC layer */
        return -ENOIOCTLCMD;