phy: qcom-ufs: add missing MODULE_DESCRIPTION/LICENSE
Subsystems (2)
PATCH 1/1 phy: qcom-ufs: add missing MODULE_DESCRIPTION/LICENSE
This change resolves a new compile-time warning
when built as a loadable module:
WARNING: modpost: missing MODULE_LICENSE() in drivers/phy/qualcomm/phy-qcom-ufs.o see include/linux/module.h for more information
This adds the license as "GPL v2", which matches the header of the file.
MODULE_DESCRIPTION is also added.
--- drivers/phy/qualcomm/phy-qcom-ufs.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/phy/qualcomm/phy-qcom-ufs.c +3 -0
@@ -675,3 +675,6 @@ int ufs_qcom_phy_power_off(struct phy *generic_phy)return 0 ; }EXPORT_SYMBOL_GPL (ufs_qcom_phy_power_off); + +MODULE_DESCRIPTION ("Universal Flash Storage (UFS) QCOM PHY" ); +MODULE_LICENSE ("GPL v2" );
Signature · 1 line
2.14.1
Quoted 10 lines · Jesse Chan
This change resolves a new compile-time warning
when built as a loadable module:WARNING: modpost: missing
MODULE_LICENSE()indrivers/phy/qualcomm/phy-qcom-ufs.oseeinclude/linux/module.hfor more informationThis adds the license as "GPL v2", which matches the header of the file.
MODULE_DESCRIPTIONis also added.
Although I suspect that the plan was for the three ufs phy drivers to be one kernel module...
Regards,
Bjorn
Quoted 19 lines
Signed-off-by Jesse Chan <[email protected]>--- drivers/phy/qualcomm/phy-qcom-ufs.c | 3 +++ 1 file changed, 3 insertions(+)drivers/phy/qualcomm/phy-qcom-ufs.c +3
-0@@ -675,3 +675,6 @@ int ufs_qcom_phy_power_off(struct phy *generic_phy)return 0 ; }EXPORT_SYMBOL_GPL (ufs_qcom_phy_power_off); + +MODULE_DESCRIPTION ("Universal Flash Storage (UFS) QCOM PHY" ); +MODULE_LICENSE ("GPL v2" );Signature · 1 line
2.14.1
Quoted 22 lines · Jesse Chan
This change resolves a new compile-time warning
when built as a loadable module:WARNING: modpost: missing
MODULE_LICENSE()indrivers/phy/qualcomm/phy-qcom-ufs.o
seeinclude/linux/module.hfor more informationThis adds the license as "GPL v2", which matches the header of the file.
MODULE_DESCRIPTIONis also added.Signed-off-by Jesse Chan <[email protected]>--- drivers/phy/qualcomm/phy-qcom-ufs.c | 3 +++ 1 file changed, 3 insertions(+)drivers/phy/qualcomm/phy-qcom-ufs.c +0
-0
drivers/phy/qualcomm/phy-qcom-ufs.c int ufs_qcom_phy_power_off(struct phy *generic_phy) · line 680
Quoted 6 lines
drivers/phy/qualcomm/phy-qcom-ufs.c +3
-0@@ -675,3 +675,6 @@ int ufs_qcom_phy_power_off(struct phy *generic_phy)return 0 ; }EXPORT_SYMBOL_GPL (ufs_qcom_phy_power_off); + +MODULE_DESCRIPTION ("Universal Flash Storage (UFS) QCOM PHY" ); +MODULE_LICENSE ("GPL v2" );
Looks good to me.
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project