[ragnatech:media-tree 167/415] drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c:45:6: error: implicit declaration of function 'omapdss_device_is_connected'; did you mean 'pci_device_is_present'?

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

 



tree:   git://git.ragnatech.se/linux media-tree
head:   e646e17713eeb3b6484b6d7a24ce34854123fa39
commit: 771f7be87ff921e9a3d744febd606af39a150e14 [167/415] media: omapfb: omapfb_dss.h: add stubs to build with COMPILE_TEST && DRM_OMAP
config: s390-allmodconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
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=s390 

Note: the ragnatech/media-tree HEAD e646e17713eeb3b6484b6d7a24ce34854123fa39 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   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'; did you mean 'pci_device_is_present'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
         pci_device_is_present
   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'; did you mean 'pci_dev_msi_enabled'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
         pci_dev_msi_enabled
   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'; did you mean 'omap_dispc_register_isr'? [-Werror=implicit-function-declaration]
     r = omapdss_register_output(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~
         omap_dispc_register_isr
   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'; did you mean 'omap_dispc_unregister_isr'? [-Werror=implicit-function-declaration]
     omapdss_unregister_output(&ddata->dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
     omap_dispc_unregister_isr
   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'; did you mean 'pci_device_is_present'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
         pci_device_is_present
   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'; did you mean 'pci_dev_msi_enabled'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
         pci_dev_msi_enabled
   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'; did you mean 'omap_dispc_register_isr'? [-Werror=implicit-function-declaration]
     r = omapdss_register_output(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~
         omap_dispc_register_isr
   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'; did you mean 'omap_dispc_unregister_isr'? [-Werror=implicit-function-declaration]
     omapdss_unregister_output(&ddata->dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
     omap_dispc_unregister_isr
   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'; did you mean 'pci_device_is_present'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
         pci_device_is_present
   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'; did you mean 'pci_dev_msi_enabled'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
         pci_dev_msi_enabled
   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); did you mean 'omapdss_get_version'?
     .get_resolution  = omapdss_default_get_resolution,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        omapdss_get_version
   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'; did you mean 'omap_dispc_register_isr'? [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
         omap_dispc_register_isr
   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'; did you mean 'omap_dispc_unregister_isr'? [-Werror=implicit-function-declaration]
     omapdss_unregister_display(&ddata->dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
     omap_dispc_unregister_isr
   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'; did you mean 'pci_device_is_present'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
         pci_device_is_present
   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'; did you mean 'pci_dev_msi_enabled'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
         pci_dev_msi_enabled
   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); did you mean 'omapdss_get_version'?
     .get_resolution = omapdss_default_get_resolution,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       omapdss_get_version
   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'; did you mean 'omap_dss_get_overlay'? [-Werror=implicit-function-declaration]
     in = omap_dss_find_output(pdata->source);
          ^~~~~~~~~~~~~~~~~~~~
          omap_dss_get_overlay
   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'; did you mean 'videomode_from_timings'? [-Werror=implicit-function-declaration]
     videomode_to_omap_video_timings(&vm, &ddata->videomode);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     videomode_from_timings
   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'; did you mean 'omap_dispc_register_isr'? [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
         omap_dispc_register_isr
   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'; did you mean 'omap_dispc_unregister_isr'? [-Werror=implicit-function-declaration]
     omapdss_unregister_display(dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
     omap_dispc_unregister_isr
   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'; did you mean 'pci_device_is_present'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
         pci_device_is_present
   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'; did you mean 'pci_dev_msi_enabled'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~
         pci_dev_msi_enabled
   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'; did you mean 'omap_dispc_register_isr'? [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
         omap_dispc_register_isr
   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'; did you mean 'omap_dispc_unregister_isr'? [-Werror=implicit-function-declaration]
     omapdss_unregister_display(dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
     omap_dispc_unregister_isr
   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'; did you mean 'pci_device_is_present'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
         pci_device_is_present
   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'; did you mean 'pci_dev_msi_enabled'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
         pci_dev_msi_enabled
   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); did you mean 'omapdss_get_version'?
     .get_resolution = omapdss_default_get_resolution,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       omapdss_get_version
   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'; did you mean 'omap_dss_get_overlay'? [-Werror=implicit-function-declaration]
     in = omap_dss_find_output(pdata->source);
          ^~~~~~~~~~~~~~~~~~~~
          omap_dss_get_overlay
   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'; did you mean 'omap_dispc_register_isr'? [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
         omap_dispc_register_isr
   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'; did you mean 'omap_dispc_unregister_isr'? [-Werror=implicit-function-declaration]
     omapdss_unregister_display(dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
     omap_dispc_unregister_isr
   cc1: some warnings being treated as errors
--
   drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c: In function 'lb035q02_connect':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c:126:6: error: implicit declaration of function 'omapdss_device_is_connected'; did you mean 'pci_device_is_present'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
         pci_device_is_present
   drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c: In function 'lb035q02_enable':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c:158:6: error: implicit declaration of function 'omapdss_device_is_enabled'; did you mean 'pci_dev_msi_enabled'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
         pci_dev_msi_enabled
   drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c: At top level:
   drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c:239:20: error: 'omapdss_default_get_resolution' undeclared here (not in a function); did you mean 'omapdss_get_version'?
     .get_resolution = omapdss_default_get_resolution,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       omapdss_get_version
   drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c: In function 'lb035q02_probe_of':
   drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c:259: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-lgphilips-lb035q02.c:259: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-lgphilips-lb035q02.c: In function 'lb035q02_panel_spi_probe':
   drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c:308:6: error: implicit declaration of function 'omapdss_register_display'; did you mean 'omap_dispc_register_isr'? [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
         omap_dispc_register_isr
   drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c: In function 'lb035q02_panel_spi_remove':
   drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c:328:2: error: implicit declaration of function 'omapdss_unregister_display'; did you mean 'omap_dispc_unregister_isr'? [-Werror=implicit-function-declaration]
     omapdss_unregister_display(dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
     omap_dispc_unregister_isr
   cc1: some warnings being treated as errors
--
   drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c: In function 'sharp_ls_connect':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c:67:6: error: implicit declaration of function 'omapdss_device_is_connected'; did you mean 'pci_device_is_present'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
         pci_device_is_present
   drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c: In function 'sharp_ls_enable':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c:97:6: error: implicit declaration of function 'omapdss_device_is_enabled'; did you mean 'pci_dev_msi_enabled'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
         pci_dev_msi_enabled
   drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c: At top level:
   drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c:196:20: error: 'omapdss_default_get_resolution' undeclared here (not in a function); did you mean 'omapdss_get_version'?
     .get_resolution = omapdss_default_get_resolution,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       omapdss_get_version
   drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c: In function 'sharp_ls_probe_of':
   drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c:252: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-sharp-ls037v7dw01.c:252: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-sharp-ls037v7dw01.c: In function 'sharp_ls_probe':
   drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c:292:6: error: implicit declaration of function 'omapdss_register_display'; did you mean 'omap_dispc_register_isr'? [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
         omap_dispc_register_isr
   drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c: In function 'sharp_ls_remove':
   drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c:311:2: error: implicit declaration of function 'omapdss_unregister_display'; did you mean 'omap_dispc_unregister_isr'? [-Werror=implicit-function-declaration]
     omapdss_unregister_display(dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
     omap_dispc_unregister_isr
   cc1: some warnings being treated as errors
--
   drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c: In function 'td028ttec1_panel_connect':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c:175:6: error: implicit declaration of function 'omapdss_device_is_connected'; did you mean 'pci_device_is_present'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_connected(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
         pci_device_is_present
   drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c: In function 'td028ttec1_panel_enable':
>> drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c:205:6: error: implicit declaration of function 'omapdss_device_is_enabled'; did you mean 'pci_dev_msi_enabled'? [-Werror=implicit-function-declaration]
     if (omapdss_device_is_enabled(dssdev))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
         pci_dev_msi_enabled
   drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c: In function 'td028ttec1_probe_of':
   drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c:373: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-tpo-td028ttec1.c:373: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-tpo-td028ttec1.c: In function 'td028ttec1_panel_probe':
   drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c:426:6: error: implicit declaration of function 'omapdss_register_display'; did you mean 'omap_dispc_register_isr'? [-Werror=implicit-function-declaration]
     r = omapdss_register_display(dssdev);
         ^~~~~~~~~~~~~~~~~~~~~~~~
         omap_dispc_register_isr
   drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c: In function 'td028ttec1_panel_remove':
   drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c:447:2: error: implicit declaration of function 'omapdss_unregister_display'; did you mean 'omap_dispc_unregister_isr'? [-Werror=implicit-function-declaration]
     omapdss_unregister_display(dssdev);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
     omap_dispc_unregister_isr
   cc1: some warnings being treated as errors
..

vim +45 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c

f76ee892 Tomi Valkeinen 2015-12-09   35  
f76ee892 Tomi Valkeinen 2015-12-09   36  static int opa362_connect(struct omap_dss_device *dssdev,
f76ee892 Tomi Valkeinen 2015-12-09   37  		struct omap_dss_device *dst)
f76ee892 Tomi Valkeinen 2015-12-09   38  {
f76ee892 Tomi Valkeinen 2015-12-09   39  	struct panel_drv_data *ddata = to_panel_data(dssdev);
f76ee892 Tomi Valkeinen 2015-12-09   40  	struct omap_dss_device *in = ddata->in;
f76ee892 Tomi Valkeinen 2015-12-09   41  	int r;
f76ee892 Tomi Valkeinen 2015-12-09   42  
f76ee892 Tomi Valkeinen 2015-12-09   43  	dev_dbg(dssdev->dev, "connect\n");
f76ee892 Tomi Valkeinen 2015-12-09   44  
f76ee892 Tomi Valkeinen 2015-12-09  @45  	if (omapdss_device_is_connected(dssdev))
f76ee892 Tomi Valkeinen 2015-12-09   46  		return -EBUSY;
f76ee892 Tomi Valkeinen 2015-12-09   47  
f76ee892 Tomi Valkeinen 2015-12-09   48  	r = in->ops.atv->connect(in, dssdev);
f76ee892 Tomi Valkeinen 2015-12-09   49  	if (r)
f76ee892 Tomi Valkeinen 2015-12-09   50  		return r;
f76ee892 Tomi Valkeinen 2015-12-09   51  
f76ee892 Tomi Valkeinen 2015-12-09   52  	dst->src = dssdev;
f76ee892 Tomi Valkeinen 2015-12-09   53  	dssdev->dst = dst;
f76ee892 Tomi Valkeinen 2015-12-09   54  
f76ee892 Tomi Valkeinen 2015-12-09   55  	return 0;
f76ee892 Tomi Valkeinen 2015-12-09   56  }
f76ee892 Tomi Valkeinen 2015-12-09   57  
f76ee892 Tomi Valkeinen 2015-12-09   58  static void opa362_disconnect(struct omap_dss_device *dssdev,
f76ee892 Tomi Valkeinen 2015-12-09   59  		struct omap_dss_device *dst)
f76ee892 Tomi Valkeinen 2015-12-09   60  {
f76ee892 Tomi Valkeinen 2015-12-09   61  	struct panel_drv_data *ddata = to_panel_data(dssdev);
f76ee892 Tomi Valkeinen 2015-12-09   62  	struct omap_dss_device *in = ddata->in;
f76ee892 Tomi Valkeinen 2015-12-09   63  
f76ee892 Tomi Valkeinen 2015-12-09   64  	dev_dbg(dssdev->dev, "disconnect\n");
f76ee892 Tomi Valkeinen 2015-12-09   65  
f76ee892 Tomi Valkeinen 2015-12-09   66  	WARN_ON(!omapdss_device_is_connected(dssdev));
f76ee892 Tomi Valkeinen 2015-12-09   67  	if (!omapdss_device_is_connected(dssdev))
f76ee892 Tomi Valkeinen 2015-12-09   68  		return;
f76ee892 Tomi Valkeinen 2015-12-09   69  
f76ee892 Tomi Valkeinen 2015-12-09   70  	WARN_ON(dst != dssdev->dst);
f76ee892 Tomi Valkeinen 2015-12-09   71  	if (dst != dssdev->dst)
f76ee892 Tomi Valkeinen 2015-12-09   72  		return;
f76ee892 Tomi Valkeinen 2015-12-09   73  
f76ee892 Tomi Valkeinen 2015-12-09   74  	dst->src = NULL;
f76ee892 Tomi Valkeinen 2015-12-09   75  	dssdev->dst = NULL;
f76ee892 Tomi Valkeinen 2015-12-09   76  
f76ee892 Tomi Valkeinen 2015-12-09   77  	in->ops.atv->disconnect(in, &ddata->dssdev);
f76ee892 Tomi Valkeinen 2015-12-09   78  }
f76ee892 Tomi Valkeinen 2015-12-09   79  
f76ee892 Tomi Valkeinen 2015-12-09   80  static int opa362_enable(struct omap_dss_device *dssdev)
f76ee892 Tomi Valkeinen 2015-12-09   81  {
f76ee892 Tomi Valkeinen 2015-12-09   82  	struct panel_drv_data *ddata = to_panel_data(dssdev);
f76ee892 Tomi Valkeinen 2015-12-09   83  	struct omap_dss_device *in = ddata->in;
f76ee892 Tomi Valkeinen 2015-12-09   84  	int r;
f76ee892 Tomi Valkeinen 2015-12-09   85  
f76ee892 Tomi Valkeinen 2015-12-09   86  	dev_dbg(dssdev->dev, "enable\n");
f76ee892 Tomi Valkeinen 2015-12-09   87  
f76ee892 Tomi Valkeinen 2015-12-09   88  	if (!omapdss_device_is_connected(dssdev))
f76ee892 Tomi Valkeinen 2015-12-09   89  		return -ENODEV;
f76ee892 Tomi Valkeinen 2015-12-09   90  
f76ee892 Tomi Valkeinen 2015-12-09  @91  	if (omapdss_device_is_enabled(dssdev))
f76ee892 Tomi Valkeinen 2015-12-09   92  		return 0;
f76ee892 Tomi Valkeinen 2015-12-09   93  
f76ee892 Tomi Valkeinen 2015-12-09   94  	in->ops.atv->set_timings(in, &ddata->timings);
f76ee892 Tomi Valkeinen 2015-12-09   95  
f76ee892 Tomi Valkeinen 2015-12-09   96  	r = in->ops.atv->enable(in);
f76ee892 Tomi Valkeinen 2015-12-09   97  	if (r)
f76ee892 Tomi Valkeinen 2015-12-09   98  		return r;
f76ee892 Tomi Valkeinen 2015-12-09   99  
f76ee892 Tomi Valkeinen 2015-12-09  100  	if (ddata->enable_gpio)
f76ee892 Tomi Valkeinen 2015-12-09  101  		gpiod_set_value_cansleep(ddata->enable_gpio, 1);
f76ee892 Tomi Valkeinen 2015-12-09  102  
f76ee892 Tomi Valkeinen 2015-12-09  103  	dssdev->state = OMAP_DSS_DISPLAY_ACTIVE;
f76ee892 Tomi Valkeinen 2015-12-09  104  
f76ee892 Tomi Valkeinen 2015-12-09  105  	return 0;
f76ee892 Tomi Valkeinen 2015-12-09  106  }
f76ee892 Tomi Valkeinen 2015-12-09  107  

:::::: The code at line 45 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