[linuxtv-media:master 167/207] drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c:319:2: error: implicit declaration of function 'omapdss_unregister_display'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://linuxtv.org/media_tree.git master
head:   53dcd70eb710607b2d4085ca91a433cd9feb7b41
commit: 771f7be87ff921e9a3d744febd606af39a150e14 [167/207] media: omapfb: omapfb_dss.h: add stubs to build with COMPILE_TEST && DRM_OMAP
config: openrisc-allmodconfig (attached as .config)
compiler: or1k-linux-gcc (GCC) 6.0.0 20160327 (experimental)
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 771f7be87ff921e9a3d744febd606af39a150e14
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   drivers/video/fbdev/omap2/omapfb/omapfb-main.c: In function 'omapfb_init_connections':
>> drivers/video/fbdev/omap2/omapfb/omapfb-main.c:2396:8: error: implicit declaration of function 'omapdss_find_mgr_from_display' [-Werror=implicit-function-declaration]
     mgr = omapdss_find_mgr_from_display(def_dssdev);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/omapfb-main.c:2396:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     mgr = omapdss_find_mgr_from_display(def_dssdev);
         ^
   drivers/video/fbdev/omap2/omapfb/omapfb-main.c: In function 'omapfb_find_default_display':
>> drivers/video/fbdev/omap2/omapfb/omapfb-main.c:2430:13: error: implicit declaration of function 'omapdss_get_default_display_name' [-Werror=implicit-function-declaration]
     def_name = omapdss_get_default_display_name();
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/omapfb-main.c:2430:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     def_name = omapdss_get_default_display_name();
              ^
   cc1: some warnings being treated as errors
--
   drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c: In function 'opa362_connect':
   drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c:45:6: error: implicit declaration of function 'omapdss_device_is_connected' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c: In function 'opa362_enable':
>> drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c:91:6: error: implicit declaration of function 'omapdss_device_is_enabled' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c: In function 'opa362_probe':
   drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c:210:7: error: implicit declaration of function 'omapdss_of_find_source_for_first_ep' [-Werror=implicit-function-declaration]
     in = omapdss_of_find_source_for_first_ep(node);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c:210:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     in = omapdss_of_find_source_for_first_ep(node);
        ^
>> drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c:225:6: error: implicit declaration of function 'omapdss_register_output' [-Werror=implicit-function-declaration]
     r = omapdss_register_output(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c: In function 'opa362_remove':
>> drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c:243:2: error: implicit declaration of function 'omapdss_unregister_output' [-Werror=implicit-function-declaration]
     omapdss_unregister_output(&ddata->dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c: In function 'tfp410_connect':
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c:39:6: error: implicit declaration of function 'omapdss_device_is_connected' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c: In function 'tfp410_enable':
>> drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c:81:6: error: implicit declaration of function 'omapdss_device_is_enabled' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c: In function 'tfp410_probe_of':
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c:184:7: error: implicit declaration of function 'omapdss_of_find_source_for_first_ep' [-Werror=implicit-function-declaration]
     in = omapdss_of_find_source_for_first_ep(node);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c:184:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     in = omapdss_of_find_source_for_first_ep(node);
        ^
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c: In function 'tfp410_probe':
>> drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c:233:6: error: implicit declaration of function 'omapdss_register_output' [-Werror=implicit-function-declaration]
     r = omapdss_register_output(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c: In function 'tfp410_remove':
>> drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c:252:2: error: implicit declaration of function 'omapdss_unregister_output' [-Werror=implicit-function-declaration]
     omapdss_unregister_output(&ddata->dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c: In function 'tpd_probe_of':
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c:208:7: error: implicit declaration of function 'omapdss_of_find_source_for_first_ep' [-Werror=implicit-function-declaration]
     in = omapdss_of_find_source_for_first_ep(node);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c:208:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     in = omapdss_of_find_source_for_first_ep(node);
        ^
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c: In function 'tpd_probe':
>> drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c:272:6: error: implicit declaration of function 'omapdss_register_output' [-Werror=implicit-function-declaration]
     r = omapdss_register_output(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c: In function 'tpd_remove':
>> drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c:291:2: error: implicit declaration of function 'omapdss_unregister_output' [-Werror=implicit-function-declaration]
     omapdss_unregister_output(&ddata->dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from ./arch/openrisc/include/generated/asm/bug.h:1:0,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/openrisc/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:81,
                    from include/linux/spinlock.h:51,
                    from include/linux/wait.h:9,
                    from include/linux/completion.h:12,
                    from drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c:12:
>> drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c:293:10: error: implicit declaration of function 'omapdss_device_is_enabled' [-Werror=implicit-function-declaration]
     WARN_ON(omapdss_device_is_enabled(dssdev));
             ^
   include/asm-generic/bug.h:112:25: note: in definition of macro 'WARN_ON'
     int __ret_warn_on = !!(condition);    \
                            ^~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c:297:10: error: implicit declaration of function 'omapdss_device_is_connected' [-Werror=implicit-function-declaration]
     WARN_ON(omapdss_device_is_connected(dssdev));
             ^
   include/asm-generic/bug.h:112:25: note: in definition of macro 'WARN_ON'
     int __ret_warn_on = !!(condition);    \
                            ^~~~~~~~~
   cc1: some warnings being treated as errors
--
   drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c: In function 'dvic_connect':
   drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c:59:6: error: implicit declaration of function 'omapdss_device_is_connected' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c: In function 'dvic_enable':
>> drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c:89:6: error: implicit declaration of function 'omapdss_device_is_enabled' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c: At top level:
>> drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c:232:20: error: 'omapdss_default_get_resolution' undeclared here (not in a function)
     .get_resolution = omapdss_default_get_resolution,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c: In function 'dvic_probe_of':
   drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c:246:7: error: implicit declaration of function 'omapdss_of_find_source_for_first_ep' [-Werror=implicit-function-declaration]
     in = omapdss_of_find_source_for_first_ep(node);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c:246:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     in = omapdss_of_find_source_for_first_ep(node);
        ^
   drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c: In function 'dvic_probe':
>> drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c:297:6: error: implicit declaration of function 'omapdss_register_display' [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c: In function 'dvic_remove':
>> drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c:319:2: error: implicit declaration of function 'omapdss_unregister_display' [-Werror=implicit-function-declaration]
     omapdss_unregister_display(&ddata->dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c: In function 'hdmic_connect':
   drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c:60:6: error: implicit declaration of function 'omapdss_device_is_connected' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c: In function 'hdmic_enable':
>> drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c:94:6: error: implicit declaration of function 'omapdss_device_is_enabled' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c: At top level:
>> drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c:200:21: error: 'omapdss_default_get_resolution' undeclared here (not in a function)
     .get_resolution  = omapdss_default_get_resolution,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c: In function 'hdmic_probe_of':
   drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c:222:7: error: implicit declaration of function 'omapdss_of_find_source_for_first_ep' [-Werror=implicit-function-declaration]
     in = omapdss_of_find_source_for_first_ep(node);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c:222:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     in = omapdss_of_find_source_for_first_ep(node);
        ^
   drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c: In function 'hdmic_probe':
>> drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c:269:6: error: implicit declaration of function 'omapdss_register_display' [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c: In function 'hdmic_remove':
>> drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c:287:2: error: implicit declaration of function 'omapdss_unregister_display' [-Werror=implicit-function-declaration]
     omapdss_unregister_display(&ddata->dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c: In function 'tvc_connect':
   drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c:57:6: error: implicit declaration of function 'omapdss_device_is_connected' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c: In function 'tvc_enable':
>> drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c:91:6: error: implicit declaration of function 'omapdss_device_is_enabled' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c: At top level:
>> drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c:183:21: error: 'omapdss_default_get_resolution' undeclared here (not in a function)
     .get_resolution  = omapdss_default_get_resolution,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c: In function 'tvc_probe_pdata':
>> drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c:197:7: error: implicit declaration of function 'omap_dss_find_output' [-Werror=implicit-function-declaration]
     in = omap_dss_find_output(pdata->source);
          ^~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c:197:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     in = omap_dss_find_output(pdata->source);
        ^
   drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c: In function 'tvc_probe_of':
   drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c:219:7: error: implicit declaration of function 'omapdss_of_find_source_for_first_ep' [-Werror=implicit-function-declaration]
     in = omapdss_of_find_source_for_first_ep(node);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c:219:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     in = omapdss_of_find_source_for_first_ep(node);
        ^
   drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c: In function 'tvc_probe':
>> drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c:264:6: error: implicit declaration of function 'omapdss_register_display' [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c: In function 'tvc_remove':
>> drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c:282:2: error: implicit declaration of function 'omapdss_unregister_display' [-Werror=implicit-function-declaration]
     omapdss_unregister_display(&ddata->dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c: In function 'panel_dpi_connect':
   drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c:45:6: error: implicit declaration of function 'omapdss_device_is_connected' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c: In function 'panel_dpi_enable':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c:75:6: error: implicit declaration of function 'omapdss_device_is_enabled' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c: At top level:
>> drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c:154:20: error: 'omapdss_default_get_resolution' undeclared here (not in a function)
     .get_resolution = omapdss_default_get_resolution,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c: In function 'panel_dpi_probe_pdata':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c:167:7: error: implicit declaration of function 'omap_dss_find_output' [-Werror=implicit-function-declaration]
     in = omap_dss_find_output(pdata->source);
          ^~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c:167:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     in = omap_dss_find_output(pdata->source);
        ^
>> drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c:179:2: error: implicit declaration of function 'videomode_to_omap_video_timings' [-Werror=implicit-function-declaration]
     videomode_to_omap_video_timings(&vm, &ddata->videomode);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c: In function 'panel_dpi_probe_of':
   drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c:227:7: error: implicit declaration of function 'omapdss_of_find_source_for_first_ep' [-Werror=implicit-function-declaration]
     in = omapdss_of_find_source_for_first_ep(node);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c:227:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     in = omapdss_of_find_source_for_first_ep(node);
        ^
   drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c: In function 'panel_dpi_probe':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c:277:6: error: implicit declaration of function 'omapdss_register_display' [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c: In function 'panel_dpi_remove':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c:297:2: error: implicit declaration of function 'omapdss_unregister_display' [-Werror=implicit-function-declaration]
     omapdss_unregister_display(dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c: In function 'dsicm_connect':
   drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c:715:6: error: implicit declaration of function 'omapdss_device_is_connected' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c: In function 'dsicm_enable':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c:772:6: error: implicit declaration of function 'omapdss_device_is_enabled' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c: At top level:
   drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c:1119:25: error: 'omapdss_default_get_recommended_bpp' undeclared here (not in a function)
     .get_recommended_bpp = omapdss_default_get_recommended_bpp,
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c: In function 'dsicm_probe_of':
   drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c:1149:7: error: implicit declaration of function 'omapdss_of_find_source_for_first_ep' [-Werror=implicit-function-declaration]
     in = omapdss_of_find_source_for_first_ep(node);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c:1149:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     in = omapdss_of_find_source_for_first_ep(node);
        ^
   drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c: In function 'dsicm_probe':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c:1202:6: error: implicit declaration of function 'omapdss_register_display' [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c: In function 'dsicm_remove':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c:1293:2: error: implicit declaration of function 'omapdss_unregister_display' [-Werror=implicit-function-declaration]
     omapdss_unregister_display(dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c: In function 'acx565akm_connect':
   drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:522:6: error: implicit declaration of function 'omapdss_device_is_connected' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c: In function 'acx565akm_enable':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:634:6: error: implicit declaration of function 'omapdss_device_is_enabled' [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c: At top level:
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:704:20: error: 'omapdss_default_get_resolution' undeclared here (not in a function)
     .get_resolution = omapdss_default_get_resolution,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c: In function 'acx565akm_probe_pdata':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:717:7: error: implicit declaration of function 'omap_dss_find_output' [-Werror=implicit-function-declaration]
     in = omap_dss_find_output(pdata->source);
          ^~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:717:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     in = omap_dss_find_output(pdata->source);
        ^
   drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c: In function 'acx565akm_probe_of':
   drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:740:14: error: implicit declaration of function 'omapdss_of_find_source_for_first_ep' [-Werror=implicit-function-declaration]
     ddata->in = omapdss_of_find_source_for_first_ep(np);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:740:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     ddata->in = omapdss_of_find_source_for_first_ep(np);
               ^
   drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c: In function 'acx565akm_probe':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:857:6: error: implicit declaration of function 'omapdss_register_display' [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c: In function 'acx565akm_remove':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:887:2: error: implicit declaration of function 'omapdss_unregister_display' [-Werror=implicit-function-declaration]
     omapdss_unregister_display(dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
..

vim +/omapdss_unregister_display +319 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c

f76ee892 Tomi Valkeinen 2015-12-09  220  
f76ee892 Tomi Valkeinen 2015-12-09  221  static struct omap_dss_driver dvic_driver = {
f76ee892 Tomi Valkeinen 2015-12-09  222  	.connect	= dvic_connect,
f76ee892 Tomi Valkeinen 2015-12-09  223  	.disconnect	= dvic_disconnect,
f76ee892 Tomi Valkeinen 2015-12-09  224  
f76ee892 Tomi Valkeinen 2015-12-09  225  	.enable		= dvic_enable,
f76ee892 Tomi Valkeinen 2015-12-09  226  	.disable	= dvic_disable,
f76ee892 Tomi Valkeinen 2015-12-09  227  
f76ee892 Tomi Valkeinen 2015-12-09  228  	.set_timings	= dvic_set_timings,
f76ee892 Tomi Valkeinen 2015-12-09  229  	.get_timings	= dvic_get_timings,
f76ee892 Tomi Valkeinen 2015-12-09  230  	.check_timings	= dvic_check_timings,
f76ee892 Tomi Valkeinen 2015-12-09  231  
f76ee892 Tomi Valkeinen 2015-12-09 @232  	.get_resolution	= omapdss_default_get_resolution,
f76ee892 Tomi Valkeinen 2015-12-09  233  
f76ee892 Tomi Valkeinen 2015-12-09  234  	.read_edid	= dvic_read_edid,
f76ee892 Tomi Valkeinen 2015-12-09  235  	.detect		= dvic_detect,
f76ee892 Tomi Valkeinen 2015-12-09  236  };
f76ee892 Tomi Valkeinen 2015-12-09  237  
f76ee892 Tomi Valkeinen 2015-12-09  238  static int dvic_probe_of(struct platform_device *pdev)
f76ee892 Tomi Valkeinen 2015-12-09  239  {
f76ee892 Tomi Valkeinen 2015-12-09  240  	struct panel_drv_data *ddata = platform_get_drvdata(pdev);
f76ee892 Tomi Valkeinen 2015-12-09  241  	struct device_node *node = pdev->dev.of_node;
f76ee892 Tomi Valkeinen 2015-12-09  242  	struct omap_dss_device *in;
f76ee892 Tomi Valkeinen 2015-12-09  243  	struct device_node *adapter_node;
f76ee892 Tomi Valkeinen 2015-12-09  244  	struct i2c_adapter *adapter;
f76ee892 Tomi Valkeinen 2015-12-09  245  
f76ee892 Tomi Valkeinen 2015-12-09 @246  	in = omapdss_of_find_source_for_first_ep(node);
f76ee892 Tomi Valkeinen 2015-12-09  247  	if (IS_ERR(in)) {
f76ee892 Tomi Valkeinen 2015-12-09  248  		dev_err(&pdev->dev, "failed to find video source\n");
f76ee892 Tomi Valkeinen 2015-12-09  249  		return PTR_ERR(in);
f76ee892 Tomi Valkeinen 2015-12-09  250  	}
f76ee892 Tomi Valkeinen 2015-12-09  251  
f76ee892 Tomi Valkeinen 2015-12-09  252  	ddata->in = in;
f76ee892 Tomi Valkeinen 2015-12-09  253  
f76ee892 Tomi Valkeinen 2015-12-09  254  	adapter_node = of_parse_phandle(node, "ddc-i2c-bus", 0);
f76ee892 Tomi Valkeinen 2015-12-09  255  	if (adapter_node) {
f76ee892 Tomi Valkeinen 2015-12-09  256  		adapter = of_get_i2c_adapter_by_node(adapter_node);
f76ee892 Tomi Valkeinen 2015-12-09  257  		if (adapter == NULL) {
f76ee892 Tomi Valkeinen 2015-12-09  258  			dev_err(&pdev->dev, "failed to parse ddc-i2c-bus\n");
f76ee892 Tomi Valkeinen 2015-12-09  259  			omap_dss_put_device(ddata->in);
f76ee892 Tomi Valkeinen 2015-12-09  260  			return -EPROBE_DEFER;
f76ee892 Tomi Valkeinen 2015-12-09  261  		}
f76ee892 Tomi Valkeinen 2015-12-09  262  
f76ee892 Tomi Valkeinen 2015-12-09  263  		ddata->i2c_adapter = adapter;
f76ee892 Tomi Valkeinen 2015-12-09  264  	}
f76ee892 Tomi Valkeinen 2015-12-09  265  
f76ee892 Tomi Valkeinen 2015-12-09  266  	return 0;
f76ee892 Tomi Valkeinen 2015-12-09  267  }
f76ee892 Tomi Valkeinen 2015-12-09  268  
f76ee892 Tomi Valkeinen 2015-12-09  269  static int dvic_probe(struct platform_device *pdev)
f76ee892 Tomi Valkeinen 2015-12-09  270  {
f76ee892 Tomi Valkeinen 2015-12-09  271  	struct panel_drv_data *ddata;
f76ee892 Tomi Valkeinen 2015-12-09  272  	struct omap_dss_device *dssdev;
f76ee892 Tomi Valkeinen 2015-12-09  273  	int r;
f76ee892 Tomi Valkeinen 2015-12-09  274  
5996a5ae Peter Ujfalusi 2016-05-26  275  	if (!pdev->dev.of_node)
5996a5ae Peter Ujfalusi 2016-05-26  276  		return -ENODEV;
5996a5ae Peter Ujfalusi 2016-05-26  277  
f76ee892 Tomi Valkeinen 2015-12-09  278  	ddata = devm_kzalloc(&pdev->dev, sizeof(*ddata), GFP_KERNEL);
f76ee892 Tomi Valkeinen 2015-12-09  279  	if (!ddata)
f76ee892 Tomi Valkeinen 2015-12-09  280  		return -ENOMEM;
f76ee892 Tomi Valkeinen 2015-12-09  281  
f76ee892 Tomi Valkeinen 2015-12-09  282  	platform_set_drvdata(pdev, ddata);
f76ee892 Tomi Valkeinen 2015-12-09  283  
f76ee892 Tomi Valkeinen 2015-12-09  284  	r = dvic_probe_of(pdev);
f76ee892 Tomi Valkeinen 2015-12-09  285  	if (r)
f76ee892 Tomi Valkeinen 2015-12-09  286  		return r;
f76ee892 Tomi Valkeinen 2015-12-09  287  
f76ee892 Tomi Valkeinen 2015-12-09  288  	ddata->timings = dvic_default_timings;
f76ee892 Tomi Valkeinen 2015-12-09  289  
f76ee892 Tomi Valkeinen 2015-12-09  290  	dssdev = &ddata->dssdev;
f76ee892 Tomi Valkeinen 2015-12-09  291  	dssdev->driver = &dvic_driver;
f76ee892 Tomi Valkeinen 2015-12-09  292  	dssdev->dev = &pdev->dev;
f76ee892 Tomi Valkeinen 2015-12-09  293  	dssdev->type = OMAP_DISPLAY_TYPE_DVI;
f76ee892 Tomi Valkeinen 2015-12-09  294  	dssdev->owner = THIS_MODULE;
f76ee892 Tomi Valkeinen 2015-12-09  295  	dssdev->panel.timings = dvic_default_timings;
f76ee892 Tomi Valkeinen 2015-12-09  296  
f76ee892 Tomi Valkeinen 2015-12-09 @297  	r = omapdss_register_display(dssdev);
f76ee892 Tomi Valkeinen 2015-12-09  298  	if (r) {
f76ee892 Tomi Valkeinen 2015-12-09  299  		dev_err(&pdev->dev, "Failed to register panel\n");
f76ee892 Tomi Valkeinen 2015-12-09  300  		goto err_reg;
f76ee892 Tomi Valkeinen 2015-12-09  301  	}
f76ee892 Tomi Valkeinen 2015-12-09  302  
f76ee892 Tomi Valkeinen 2015-12-09  303  	return 0;
f76ee892 Tomi Valkeinen 2015-12-09  304  
f76ee892 Tomi Valkeinen 2015-12-09  305  err_reg:
f76ee892 Tomi Valkeinen 2015-12-09  306  	omap_dss_put_device(ddata->in);
f76ee892 Tomi Valkeinen 2015-12-09  307  
f76ee892 Tomi Valkeinen 2015-12-09  308  	i2c_put_adapter(ddata->i2c_adapter);
f76ee892 Tomi Valkeinen 2015-12-09  309  
f76ee892 Tomi Valkeinen 2015-12-09  310  	return r;
f76ee892 Tomi Valkeinen 2015-12-09  311  }
f76ee892 Tomi Valkeinen 2015-12-09  312  
f76ee892 Tomi Valkeinen 2015-12-09  313  static int __exit dvic_remove(struct platform_device *pdev)
f76ee892 Tomi Valkeinen 2015-12-09  314  {
f76ee892 Tomi Valkeinen 2015-12-09  315  	struct panel_drv_data *ddata = platform_get_drvdata(pdev);
f76ee892 Tomi Valkeinen 2015-12-09  316  	struct omap_dss_device *dssdev = &ddata->dssdev;
f76ee892 Tomi Valkeinen 2015-12-09  317  	struct omap_dss_device *in = ddata->in;
f76ee892 Tomi Valkeinen 2015-12-09  318  
f76ee892 Tomi Valkeinen 2015-12-09 @319  	omapdss_unregister_display(&ddata->dssdev);
f76ee892 Tomi Valkeinen 2015-12-09  320  
f76ee892 Tomi Valkeinen 2015-12-09  321  	dvic_disable(dssdev);
f76ee892 Tomi Valkeinen 2015-12-09  322  	dvic_disconnect(dssdev);
f76ee892 Tomi Valkeinen 2015-12-09  323  
f76ee892 Tomi Valkeinen 2015-12-09  324  	omap_dss_put_device(in);
f76ee892 Tomi Valkeinen 2015-12-09  325  
f76ee892 Tomi Valkeinen 2015-12-09  326  	i2c_put_adapter(ddata->i2c_adapter);
f76ee892 Tomi Valkeinen 2015-12-09  327  
f76ee892 Tomi Valkeinen 2015-12-09  328  	return 0;
f76ee892 Tomi Valkeinen 2015-12-09  329  }
f76ee892 Tomi Valkeinen 2015-12-09  330  

:::::: The code at line 319 was first introduced by commit
:::::: f76ee892a99e68b55402b8d4b8aeffcae2aff34d omapfb: copy omapdss & displays for omapfb

:::::: TO: Tomi Valkeinen <tomi.valkeinen@xxxxxx>
:::::: CC: Tomi Valkeinen <tomi.valkeinen@xxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux