]> rtime.felk.cvut.cz Git - linux-imx.git/commit
staging: xgifb: refactor XGI_BridgeIsOn()
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 29 May 2013 20:59:00 +0000 (23:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:55:47 +0000 (20:55 +0900)
commitc976c7819b3c46ac2679392b4b39d1a601d3099c
tree457c2f72e4cc5ddef4ebcf54e990af832c072eb3
parent1e4db2b325bc0fa6517ae6081b9284a207b9a688
staging: xgifb: refactor XGI_BridgeIsOn()

Refactor XGI_BridgeIsOn(). IF_DEF_LVDS bit is not valid for < XG20 chips.
Also we can make the function static by moving it to vb_init.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_init.c
drivers/staging/xgifb/vb_setmode.c
drivers/staging/xgifb/vb_setmode.h