[geert-renesas-drivers:master 17/54] drivers/gpu/drm/bridge/lontium-lt9611.c:1147:15: error: 'struct lt9611' has no member named 'audio_pdev'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master
head:   d088502a519fb7834bf6e34cb4e531c1e8113bd1
commit: b49bbb5dbe7654f0d7996206f543d91bbed33569 [17/54] Merge remote-tracking branch 'drm/drm-next' into renesas-drivers
config: i386-buildonly-randconfig-002-20250115 (https://download.01.org/0day-ci/archive/20250115/202501150734.lfH7WaHA-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250115/202501150734.lfH7WaHA-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501150734.lfH7WaHA-lkp@xxxxxxxxx/

All error/warnings (new ones prefixed by >>):

   drivers/gpu/drm/bridge/lontium-lt9611.c: In function 'lt9611_audio_init':
>> drivers/gpu/drm/bridge/lontium-lt9611.c:1147:15: error: 'struct lt9611' has no member named 'audio_pdev'
    1147 |         lt9611->audio_pdev =
         |               ^~
   drivers/gpu/drm/bridge/lontium-lt9611.c:1152:38: error: 'struct lt9611' has no member named 'audio_pdev'
    1152 |         return PTR_ERR_OR_ZERO(lt9611->audio_pdev);
         |                                      ^~
   drivers/gpu/drm/bridge/lontium-lt9611.c: In function 'lt9611_audio_exit':
   drivers/gpu/drm/bridge/lontium-lt9611.c:1157:19: error: 'struct lt9611' has no member named 'audio_pdev'
    1157 |         if (lt9611->audio_pdev) {
         |                   ^~
   drivers/gpu/drm/bridge/lontium-lt9611.c:1158:50: error: 'struct lt9611' has no member named 'audio_pdev'
    1158 |                 platform_device_unregister(lt9611->audio_pdev);
         |                                                  ^~
   drivers/gpu/drm/bridge/lontium-lt9611.c:1159:23: error: 'struct lt9611' has no member named 'audio_pdev'
    1159 |                 lt9611->audio_pdev = NULL;
         |                       ^~
   drivers/gpu/drm/bridge/lontium-lt9611.c: At top level:
>> drivers/gpu/drm/bridge/lontium-lt9611.c:1155:13: warning: 'lt9611_audio_exit' defined but not used [-Wunused-function]
    1155 | static void lt9611_audio_exit(struct lt9611 *lt9611)
         |             ^~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/bridge/lontium-lt9611.c:1144:12: warning: 'lt9611_audio_init' defined but not used [-Wunused-function]
    1144 | static int lt9611_audio_init(struct device *dev, struct lt9611 *lt9611)
         |            ^~~~~~~~~~~~~~~~~


vim +1147 drivers/gpu/drm/bridge/lontium-lt9611.c

23278bf54afe180 Vinod Koul 2020-07-23  1143  
23278bf54afe180 Vinod Koul 2020-07-23 @1144  static int lt9611_audio_init(struct device *dev, struct lt9611 *lt9611)
23278bf54afe180 Vinod Koul 2020-07-23  1145  {
23278bf54afe180 Vinod Koul 2020-07-23  1146  	codec_data.data = lt9611;
23278bf54afe180 Vinod Koul 2020-07-23 @1147  	lt9611->audio_pdev =
23278bf54afe180 Vinod Koul 2020-07-23  1148  		platform_device_register_data(dev, HDMI_CODEC_DRV_NAME,
23278bf54afe180 Vinod Koul 2020-07-23  1149  					      PLATFORM_DEVID_AUTO,
23278bf54afe180 Vinod Koul 2020-07-23  1150  					      &codec_data, sizeof(codec_data));
23278bf54afe180 Vinod Koul 2020-07-23  1151  
23278bf54afe180 Vinod Koul 2020-07-23  1152  	return PTR_ERR_OR_ZERO(lt9611->audio_pdev);
23278bf54afe180 Vinod Koul 2020-07-23  1153  }
23278bf54afe180 Vinod Koul 2020-07-23  1154  
23278bf54afe180 Vinod Koul 2020-07-23 @1155  static void lt9611_audio_exit(struct lt9611 *lt9611)
23278bf54afe180 Vinod Koul 2020-07-23  1156  {
23278bf54afe180 Vinod Koul 2020-07-23  1157  	if (lt9611->audio_pdev) {
23278bf54afe180 Vinod Koul 2020-07-23 @1158  		platform_device_unregister(lt9611->audio_pdev);
23278bf54afe180 Vinod Koul 2020-07-23 @1159  		lt9611->audio_pdev = NULL;
23278bf54afe180 Vinod Koul 2020-07-23  1160  	}
23278bf54afe180 Vinod Koul 2020-07-23  1161  }
23278bf54afe180 Vinod Koul 2020-07-23  1162  

:::::: The code at line 1147 was first introduced by commit
:::::: 23278bf54afe180967069bdc8c0f1c7a365fc63e drm/bridge: Introduce LT9611 DSI to HDMI bridge

:::::: TO: Vinod Koul <vkoul@xxxxxxxxxx>
:::::: CC: Sam Ravnborg <sam@xxxxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux