}
file->private_data = hci_vhci;
- return 0;
+ return nonseekable_open(inode, file);
}
static int hci_vhci_chr_close(struct inode *inode, struct file *file)
&hci_vhci_fops
};
-int __init hci_vhci_init(void)
+static int __init hci_vhci_init(void)
{
BT_INFO("VHCI driver ver %s", VERSION);
return 0;
}
-void hci_vhci_cleanup(void)
+static void hci_vhci_cleanup(void)
{
misc_deregister(&hci_vhci_miscdev);
}