sound/pci/hda/patch_realtek.c:7222:13: error: 'struct alc_spec' has no member named 'power_hook'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: f68868ba718e30594165879cc3020607165b0761 commit: 1e707769df072757bdcafab158bb159ead73daa4 [9797/10134] ALSA: hda/realtek - Set GPIO3 to default at S4 state for Thinkpad with ALC1318 config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240501/[email protected]/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240501/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
sound/pci/hda/patch_realtek.c: In function 'alc287_fixup_lenovo_thinkpad_with_alc1318':
>> sound/pci/hda/patch_realtek.c:7222:13: error: 'struct alc_spec' has no member named 'power_hook'
7222 | spec->power_hook = alc287_s4_power_gpio3_default;
| ^~vim +7222 sound/pci/hda/patch_realtek.c
7214
7215 static void alc287_fixup_lenovo_thinkpad_with_alc1318(struct hda_codec *codec,
7216 const struct hda_fixup *fix, int action)
7217 {
7218 struct alc_spec *spec = codec->spec;
7219
7220 if (action != HDA_FIXUP_ACT_PRE_PROBE)
7221 return;
> 7222 spec->power_hook = alc287_s4_power_gpio3_default;
7223 spec->gen.pcm_playback_hook = alc287_alc1318_playback_pcm_hook;
7224 }
7225
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki