staging: rts5208: fix static checker warnings
The patch fa590c222f
: "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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5535c4dd47
commit
bf2ec0f9ad
@ -104,7 +104,7 @@ void rtsx_enable_bus_int(struct rtsx_chip *chip)
|
|||||||
if (chip->ic_version >= IC_VER_C)
|
if (chip->ic_version >= IC_VER_C)
|
||||||
reg |= DELINK_INT_EN;
|
reg |= DELINK_INT_EN;
|
||||||
#ifdef SUPPORT_OCP
|
#ifdef SUPPORT_OCP
|
||||||
reg |= OC_INT_EN;
|
reg |= OC_INT_EN;
|
||||||
#endif
|
#endif
|
||||||
if (!chip->adma_mode)
|
if (!chip->adma_mode)
|
||||||
reg |= DATA_DONE_INT_EN;
|
reg |= DATA_DONE_INT_EN;
|
||||||
|
Reference in New Issue
Block a user