Skip to content

Commit 59fba08

Browse files
arndbkishon
authored andcommitted
phy: qcom-ufs: add MODULE_LICENSE tag
While the specific UFS PHY drivers (14nm and 20nm) have a module license, the common base module does not, leading to a Kbuild failure: WARNING: modpost: missing MODULE_LICENSE() in drivers/phy/qualcomm/phy-qcom-ufs.o FATAL: modpost: GPL-incompatible module phy-qcom-ufs.ko uses GPL-only symbol 'clk_enable' This adds a module description and license tag to fix the build. I added both Yaniv and Vivek as authors here, as Yaniv sent the initial submission, while Vivek did most of the work since. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Bjorn Andersson <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
1 parent 7928b2c commit 59fba08

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/phy/qualcomm/phy-qcom-ufs.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,3 +675,8 @@ int ufs_qcom_phy_power_off(struct phy *generic_phy)
675675
return 0;
676676
}
677677
EXPORT_SYMBOL_GPL(ufs_qcom_phy_power_off);
678+
679+
MODULE_AUTHOR("Yaniv Gardi <[email protected]>");
680+
MODULE_AUTHOR("Vivek Gautam <[email protected]>");
681+
MODULE_DESCRIPTION("Universal Flash Storage (UFS) QCOM PHY");
682+
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)