[linux-next:master 1915/2169] sound/soc/codecs/rk3308_codec.c:956:34: warning: 'rk3308_codec_of_match' defined but not used

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   26074e1be23143b2388cacb36166766c235feb7c
commit: 4ed0915f5bc4bcc81bca783a5b984f3d81e9764e [1915/2169] ASoC: codecs: Add RK3308 internal audio codec driver
config: x86_64-buildonly-randconfig-001-20240327 (https://download.01.org/0day-ci/archive/20240327/202403271907.0z0uuG5I-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Ubuntu 12.3.0-9ubuntu2) 12.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240327/202403271907.0z0uuG5I-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/202403271907.0z0uuG5I-lkp@xxxxxxxxx/

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

   ld: sound/soc/intel/boards/sof_board_helpers.o: in function `sof_intel_board_get_ctx':
>> sof_board_helpers.c:(.text+0x149): undefined reference to `sof_ssp_detect_codec_type'
>> ld: sof_board_helpers.c:(.text+0x157): undefined reference to `sof_ssp_detect_amp_type'
--
>> sound/soc/codecs/rk3308_codec.c:956:34: warning: 'rk3308_codec_of_match' defined but not used [-Wunused-const-variable=]
     956 | static const struct of_device_id rk3308_codec_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~


vim +/rk3308_codec_of_match +956 sound/soc/codecs/rk3308_codec.c

   955	
 > 956	static const struct of_device_id rk3308_codec_of_match[] = {
   957		{ .compatible = "rockchip,rk3308-codec", },
   958		{},
   959	};
   960	MODULE_DEVICE_TABLE(of, rk3308_codec_of_match);
   961	

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux