From: Benjamin Romer Date: Tue, 30 Sep 2014 16:08:44 +0000 (-0400) Subject: staging: unisys: fix Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e76446ea633e8bece4a06ab3e33e7c5681142690;p=linux-beck.git staging: unisys: fix Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET() Fix CamelCase names: Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET => issue_vmcall_query_guest_virtual_time_offset Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/include/uisutils.h b/drivers/staging/unisys/include/uisutils.h index c9d0a753600e..6091e58cafb8 100644 --- a/drivers/staging/unisys/include/uisutils.h +++ b/drivers/staging/unisys/include/uisutils.h @@ -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; diff --git a/drivers/staging/unisys/visorchipset/file.c b/drivers/staging/unisys/visorchipset/file.c index 34c35dc279c2..78460b937a33 100644 --- a/drivers/staging/unisys/visorchipset/file.c +++ b/drivers/staging/unisys/visorchipset/file.c @@ -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;