From: Benjamin Romer Date: Tue, 30 Sep 2014 16:08:49 +0000 (-0400) Subject: staging: unisys: Fix CamelCase in uislib_enable_channel_interrupts() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=93d1304fed13b05f39ccfbed2e60f4d06d4584dc;p=openwrt%2Fstaging%2Fblogic.git staging: unisys: Fix CamelCase in uislib_enable_channel_interrupts() Fix CamelCase names: busNo => bus_no devNo => dev_no 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 67b2232fe1a4..58690ca23d1d 100644 --- a/drivers/staging/unisys/include/uisutils.h +++ b/drivers/staging/unisys/include/uisutils.h @@ -347,7 +347,7 @@ void uislib_cache_free(struct kmem_cache *cur_pool, void *p, char *fn, int ln); #define UISCACHEFREE(cur_pool, p) \ uislib_cache_free(cur_pool, p, __FILE__, __LINE__) -void uislib_enable_channel_interrupts(u32 busNo, u32 devNo, +void uislib_enable_channel_interrupts(u32 bus_no, u32 dev_no, int (*interrupt)(void *), void *interrupt_context); void uislib_disable_channel_interrupts(u32 busNo, u32 devNo); diff --git a/drivers/staging/unisys/uislib/uislib.c b/drivers/staging/unisys/uislib/uislib.c index 25ad6c62583d..0791a0aad096 100644 --- a/drivers/staging/unisys/uislib/uislib.c +++ b/drivers/staging/unisys/uislib/uislib.c @@ -1462,16 +1462,16 @@ Initialize_incoming_thread(void) * function. */ void -uislib_enable_channel_interrupts(u32 busNo, u32 devNo, +uislib_enable_channel_interrupts(u32 bus_no, u32 dev_no, int (*interrupt)(void *), void *interrupt_context) { struct device_info *dev; - dev = find_dev(busNo, devNo); + dev = find_dev(bus_no, dev_no); if (!dev) { - LOGERR("%s busNo=%d, devNo=%d", __func__, (int) (busNo), - (int) (devNo)); + LOGERR("%s busNo=%d, devNo=%d", __func__, (int) (bus_no), + (int) (dev_no)); return; } down(&Lock_Polling_Device_Channels);