]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/bluetooth/hci_vhci.c
block: send disk "change" event for rescan_partitions()
[linux-2.6-omap-h63xx.git] / drivers / bluetooth / hci_vhci.c
index a278d98a915126a2dac78c6d1865fc11d89181cf..0638730a4a19636b7e9db504959725ada6f29895 100644 (file)
@@ -180,11 +180,6 @@ static inline ssize_t vhci_put_user(struct vhci_data *data,
        return total;
 }
 
-static loff_t vhci_llseek(struct file *file, loff_t offset, int origin)
-{
-       return -ESPIPE;
-}
-
 static ssize_t vhci_read(struct file *file,
                                char __user *buf, size_t count, loff_t *pos)
 {
@@ -332,9 +327,8 @@ static int vhci_fasync(int fd, struct file *file, int on)
        return 0;
 }
 
-static struct file_operations vhci_fops = {
+static const struct file_operations vhci_fops = {
        .owner          = THIS_MODULE,
-       .llseek         = vhci_llseek,
        .read           = vhci_read,
        .write          = vhci_write,
        .poll           = vhci_poll,