main/linux-lts: build trident_fb as module for x86
Trident graphics controllers were popular in x86 notebooks in the early 2000. Building this as module makes running Alpine viable with this retro hardware again.
It makes no sense to enable the module on other arches except 32 bit x86, as no such hardware combination exists to the best of my knowledge.
Also: I applied the feedback from the linter to make it happy.
Beware: The changes to prepare()
are non-trivial and may require some scrutiny in reviewing.
Edited by Marian Buschsieweke