rk30 fb: fix crash when only used lcdc1 for hdmi
authoryxj <yxj@rock-chips.com>
Tue, 24 Apr 2012 03:03:30 +0000 (11:03 +0800)
committeryxj <yxj@rock-chips.com>
Tue, 24 Apr 2012 03:06:38 +0000 (11:06 +0800)
commitedaff7a246b3353eecca20f1905ab4d1ecb9b125
tree9187f37ec20d6c5dfd1f0ef4a59689725a930850
parent9afcf024968647744533bb720f4cbae0cc59dd58
rk30 fb: fix crash when only used lcdc1 for hdmi

fix a bug in rk_fb_register,when found no
screen on lcdc device,do not register it
and do not increase the num->lcdc
drivers/video/rockchip/rk_fb.c