rk fb: move support_uboot_display from rk_fb.h to rk_fb.c
authorhjc <hjc@rock-chips.com>
Wed, 26 Mar 2014 01:22:09 +0000 (09:22 +0800)
committerhjc <hjc@rock-chips.com>
Wed, 26 Mar 2014 01:22:49 +0000 (09:22 +0800)
drivers/video/rockchip/rk_fb.c
include/linux/rk_fb.h

index 766fe1ab51da3b37a239e70b7b3cdabca31403a2..3e0a49db56680badbfeb199374fd8b6a49525e4b 100755 (executable)
@@ -65,6 +65,10 @@ EXPORT_SYMBOL(video_data_to_mirroring);
 static struct rk_fb_trsm_ops *trsm_lvds_ops;
 static struct rk_fb_trsm_ops *trsm_edp_ops;
 static struct rk_fb_trsm_ops *trsm_mipi_ops;
+__weak int support_uboot_display(void)
+{
+       return 0;
+}
 
 int rk_fb_trsm_ops_register(struct rk_fb_trsm_ops *ops, int type)
 {
index c70182df829d4c84a8d4d2da03c7653c73cdb330..fa9c9d950ca773dd782063b873e18a1ab3f28ba7 100755 (executable)
@@ -549,12 +549,6 @@ extern int rk_disp_pwr_disable(struct rk_lcdc_driver *dev_drv);
 extern bool is_prmry_rk_lcdc_registered(void);
 extern int rk_fb_prase_timing_dt(struct device_node *np,
                struct rk_screen *screen);
-
-__weak int support_uboot_display(void)
-{
-       return 0;
-}
-
 extern int rk_disp_prase_timing_dt(struct rk_lcdc_driver *dev_drv);
 
 extern int rk_fb_dpi_open(bool open);