vserver 1.9.5.x5
[linux-2.6.git] / drivers / bluetooth / hci_vhci.c
index 9faa8a0..3b9f7a5 100644 (file)
@@ -302,7 +302,7 @@ static int hci_vhci_chr_open(struct inode *inode, struct file * file)
        }
 
        file->private_data = hci_vhci;
-       return 0;   
+       return nonseekable_open(inode, file);   
 }
 
 static int hci_vhci_chr_close(struct inode *inode, struct file *file)
@@ -338,7 +338,7 @@ static struct miscdevice hci_vhci_miscdev=
         &hci_vhci_fops
 };
 
-int __init hci_vhci_init(void)
+static int __init hci_vhci_init(void)
 {
        BT_INFO("VHCI driver ver %s", VERSION);
 
@@ -350,7 +350,7 @@ int __init hci_vhci_init(void)
        return 0;
 }
 
-void hci_vhci_cleanup(void)
+static void hci_vhci_cleanup(void)
 {
        misc_deregister(&hci_vhci_miscdev);
 }