summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMicky Ching <micky_ching@realsil.com.cn>2014-04-02 17:58:52 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-15 13:56:10 -0700
commitbf2ec0f9ada1db6778851fcc9f736b5ca00c97ec (patch)
treedc4d9c3815e73b99b18b49043eb38201c53b1709
parent5535c4dd475ff936d36ad4d3f85d8be74f30245f (diff)
downloadop-kernel-dev-bf2ec0f9ada1db6778851fcc9f736b5ca00c97ec.zip
op-kernel-dev-bf2ec0f9ada1db6778851fcc9f736b5ca00c97ec.tar.gz
staging: rts5208: fix static checker warnings
The patch fa590c222fba: "staging: rts5208: add support for rts5208 and rts5288" from Nov 12, 2013, leads to the following static checker warning: drivers/staging/rts5208/rtsx_chip.c:107 rtsx_enable_bus_int() warn: add curly braces? This warning is produced because incorrect code indent. Signed-off-by: Micky Ching <micky_ching@realsil.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rts5208/rtsx_chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts5208/rtsx_chip.c b/drivers/staging/rts5208/rtsx_chip.c
index 6426807..7907e93 100644
--- a/drivers/staging/rts5208/rtsx_chip.c
+++ b/drivers/staging/rts5208/rtsx_chip.c
@@ -104,7 +104,7 @@ void rtsx_enable_bus_int(struct rtsx_chip *chip)
if (chip->ic_version >= IC_VER_C)
reg |= DELINK_INT_EN;
#ifdef SUPPORT_OCP
- reg |= OC_INT_EN;
+ reg |= OC_INT_EN;
#endif
if (!chip->adma_mode)
reg |= DATA_DONE_INT_EN;
OpenPOWER on IntegriCloud