Re: [PATCH 2/2] pinctrl: mediatek: mt8189: Add MODULE_LICENSE declaration

From: AngeloGioacchino Del Regno

Date: Tue Jun 23 2026 - 04:11:48 EST


On 5/29/26 12:02, Justin Yeh wrote:
Add missing MODULE_LICENSE("GPL v2") macro to fix modpost error during
kernel module build. The license identifier matches the SPDX header
(GPL-2.0) at the top of the file.

This fixes the following build error:
ERROR: modpost: missing MODULE_LICENSE() in pinctrl-mt8189.o

Signed-off-by: Justin Yeh <justin.yeh@xxxxxxxxxxxx>

Please, do this for all MediaTek pinctrl drivers.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>