staging: unisys: fix Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET()
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 30 Sep 2014 16:08:44 +0000 (12:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 16:49:29 +0000 (09:49 -0700)
Fix CamelCase names:
Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET =>
issue_vmcall_query_guest_virtual_time_offset

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/uisutils.h
drivers/staging/unisys/visorchipset/file.c

index c9d0a753600e493e5812c6e732571055f0cfb37e..6091e58cafb85c4112bf28a4e799826ec6eb98cc 100644 (file)
@@ -263,7 +263,7 @@ static inline unsigned int issue_vmcall_io_visorserial_addr(u64 *channel_addr)
        return result;
 }
 
-static inline s64 Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET(void)
+static inline s64 issue_vmcall_query_guest_virtual_time_offset(void)
 {
        u64 result = VMCALL_SUCCESS;
        u64 physaddr = 0;
index 34c35dc279c279b80a6d2bb6dc91fc7f56193fbf..78460b937a3368d856801277ba10af00a1ba210c 100644 (file)
@@ -197,7 +197,7 @@ visorchipset_ioctl(struct inode *inode, struct file *file,
        switch (cmd) {
        case VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET:
                /* get the physical rtc offset */
-               vrtc_offset = Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET();
+               vrtc_offset = issue_vmcall_query_guest_virtual_time_offset();
                if (copy_to_user
                    ((void __user *)arg, &vrtc_offset, sizeof(vrtc_offset))) {
                        rc = -EFAULT;