staging: rts5208: fix static checker warnings
authorMicky Ching <micky_ching@realsil.com.cn>
Wed, 2 Apr 2014 09:58:52 +0000 (17:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:56:10 +0000 (13:56 -0700)
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>
drivers/staging/rts5208/rtsx_chip.c

index 6426807a906f21fe43b79cf5381608eee8579910..7907e931a355a7f633abe9ead5dd1fe0372a5113 100644 (file)
@@ -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;