X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fbluetooth%2Fhci_vhci.c;h=3b9f7a5344975ca179d6ebb82531fc497391dcd3;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=9faa8a08a836263305fa07a621bc218b44ce4b4a;hpb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;p=linux-2.6.git diff --git a/drivers/bluetooth/hci_vhci.c b/drivers/bluetooth/hci_vhci.c index 9faa8a08a..3b9f7a534 100644 --- a/drivers/bluetooth/hci_vhci.c +++ b/drivers/bluetooth/hci_vhci.c @@ -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); }