Re: [PATCH 4/5] PCI: mt7621: Add missing 'MODULE_LICENSE()' definition

From: Krzysztof Wilczyński
Date: Mon Nov 15 2021 - 19:11:25 EST


Hello,

[...]
> ERROR: modpost: missing MODULE_LICENSE() in drivers/pci/controller/pcie-mt7621.o
>
> Fix this by adding 'MODULE_LICENSE()' to the driver.

To add for posterity, should someone stumble upon this in the future. Lack
of MODULE_LICENSE() used to be a warning, but that has been changed quite
recently in the following commit:

commit 1d6cd3929360 ("modpost: turn missing MODULE_LICENSE() into error")

Krzysztof