From: Benjamin Romer Date: Tue, 30 Sep 2014 16:08:43 +0000 (-0400) Subject: staging: unisys: Fix CamelCase in Issue_VMCALL_IO_VISORSERIAL_ADDR() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8359367ed9373a69343c5b97b5f4beef636635ca;p=openwrt%2Fstaging%2Fblogic.git staging: unisys: Fix CamelCase in Issue_VMCALL_IO_VISORSERIAL_ADDR() Fix CamelCase names: Issue_VMCALL_IO_VISORSERIAL_ADDR => issue_vmcall_io_visorserial_addr DiagChannelAddress => channel_addr 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 d81d38d81292..c9d0a753600e 100644 --- a/drivers/staging/unisys/include/uisutils.h +++ b/drivers/staging/unisys/include/uisutils.h @@ -250,8 +250,7 @@ static inline unsigned int issue_vmcall_io_diag_addr(u64 *diag_channel_addr) return result; } -static inline unsigned int -Issue_VMCALL_IO_VISORSERIAL_ADDR(u64 *DiagChannelAddress) +static inline unsigned int issue_vmcall_io_visorserial_addr(u64 *channel_addr) { VMCALL_IO_VISORSERIAL_ADDR_PARAMS params; int result = VMCALL_SUCCESS; @@ -260,7 +259,7 @@ Issue_VMCALL_IO_VISORSERIAL_ADDR(u64 *DiagChannelAddress) physaddr = virt_to_phys(¶ms); ISSUE_IO_VMCALL(VMCALL_IO_VISORSERIAL_ADDR, physaddr, result); if (VMCALL_SUCCESSFUL(result)) - *DiagChannelAddress = params.ChannelAddress; + *channel_addr = params.ChannelAddress; return result; }