ERROR: modpost: "drm_display_mode_to_videomode" [drivers/gpu/drm/bridge/lontium-lt8912b.ko] undefined!

From: Michal Suchánek
Date: Tue May 04 2021 - 14:30:39 EST


I get errors about missing symbol in the lontium-lt8912b module.

Is the problem self-evident or do you need the config as well?

I don't need the driver for anything, it was just auto-enabled because
it's new and the change has not been reviewed.


> Last output:
> WRAP arch/powerpc/boot/zImage.maple
> WRAP arch/powerpc/boot/zImage.pseries
> make[2]: *** Deleting file 'modules-only.symvers'
> MODPOST modules-only.symvers
> ERROR: modpost: "drm_display_mode_to_videomode" [drivers/gpu/drm/bridge/lontium-lt8912b.ko] undefined!
> make[2]: *** [../scripts/Makefile.modpost:150: modules-only.symvers] Error 1
> make[1]: *** [/home/abuild/rpmbuild/BUILD/kernel-vanilla- modules] Error 2
> make: *** [../Makefile:215: __sub-make] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.q1oSIp (%build)