]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: declare visorchipset_ioctl static
authorFrederico Cadete <frederico@cadete.eu>
Wed, 18 Feb 2015 18:53:38 +0000 (19:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Feb 2015 01:21:38 +0000 (17:21 -0800)
This symbol is not exported nor referenced anywhere else in the kernel.

Signed-off-by: Frederico Cadete <frederico@cadete.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/file.c

index e51fd4e3fa2ddfb89364fe9a6ffafa078205a57e..b2b1b619c0b4ddfc233361ff602bfd9313862111 100644 (file)
@@ -36,7 +36,8 @@ static BOOL registered = FALSE;
 static int visorchipset_open(struct inode *inode, struct file *file);
 static int visorchipset_release(struct inode *inode, struct file *file);
 static int visorchipset_mmap(struct file *file, struct vm_area_struct *vma);
-long visorchipset_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
+static long visorchipset_ioctl(struct file *file, unsigned int cmd,
+                               unsigned long arg);
 
 static const struct file_operations visorchipset_fops = {
        .owner = THIS_MODULE,
@@ -165,7 +166,8 @@ visorchipset_mmap(struct file *file, struct vm_area_struct *vma)
        return 0;
 }
 
-long visorchipset_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
+static long visorchipset_ioctl(struct file *file, unsigned int cmd,
+                               unsigned long arg)
 {
        s64 adjustment;
        s64 vrtc_offset;