aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712/rtl871x_io.h
diff options
context:
space:
mode:
authorTapasweni Pathak <tapaswenipathak@gmail.com>2014-09-24 16:34:56 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-28 22:41:23 -0400
commit02a29d2d9209ad24258432057886a5af5816c388 (patch)
tree2089e3910525819397c58795aa4a9c9239acd950 /drivers/staging/rtl8712/rtl871x_io.h
parentstaging: rtl8192ee: clean up function header formatting (diff)
downloadlinux-dev-02a29d2d9209ad24258432057886a5af5816c388.tar.xz
linux-dev-02a29d2d9209ad24258432057886a5af5816c388.zip
staging: rtl8712: add new line after declarations
This patch fixes checkpatch.pl warning in hal_init.c file WARNING : Missing a blank line after declarations Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_io.h')
-rw-r--r--drivers/staging/rtl8712/rtl871x_io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_io.h b/drivers/staging/rtl8712/rtl871x_io.h
index 48ad10b023fd..070cc03ce374 100644
--- a/drivers/staging/rtl8712/rtl871x_io.h
+++ b/drivers/staging/rtl8712/rtl871x_io.h
@@ -235,6 +235,7 @@ struct io_queue {
static inline u32 _RND4(u32 sz)
{
u32 val;
+
val = ((sz >> 2) + ((sz & 3) ? 1 : 0)) << 2;
return val;
}