• Yaniv Gardi's avatar
    phy: qcom-ufs: fix build error when the component is built as a module · 65d49b3d
    Yaniv Gardi authored
    Export the following functions in order to avoid build errors
    when the component PHY_QCOM_UFS is compiled as a module:
    
    ERROR: "ufs_qcom_phy_disable_ref_clk"
    	[drivers/scsi/ufs/ufs-qcom.ko] undefined!
    ERROR: "ufs_qcom_phy_enable_ref_clk"
    	[drivers/scsi/ufs/ufs-qcom.ko] undefined!
    ERROR: "ufs_qcom_phy_is_pcs_ready"
    	[drivers/scsi/ufs/ufs-qcom.ko] undefined!
    ERROR: "ufs_qcom_phy_disable_iface_clk"
    	[drivers/scsi/ufs/ufs-qcom.ko] undefined!
    ERROR: "ufs_qcom_phy_start_serdes"
    	[drivers/scsi/ufs/ufs-qcom.ko] undefined!
    ERROR: "ufs_qcom_phy_calibrate_phy"
    	[drivers/scsi/ufs/ufs-qcom.ko] undefined!
    ERROR: "ufs_qcom_phy_enable_dev_ref_clk"
    	[drivers/scsi/ufs/ufs-qcom.ko] undefined!
    ERROR: "ufs_qcom_phy_set_tx_lane_enable"
    	[drivers/scsi/ufs/ufs-qcom.ko] undefined!
    ERROR: "ufs_qcom_phy_disable_dev_ref_clk"
    	[drivers/scsi/ufs/ufs-qcom.ko] undefined!
    ERROR: "ufs_qcom_phy_save_controller_version"
    	[drivers/scsi/ufs/ufs-qcom.ko] undefined!
    ERROR: "ufs_qcom_phy_enable_iface_clk"
    	[drivers/scsi/ufs/ufs-qcom.ko] undefined!
    make[1]: *** [__modpost] Error 1
    Signed-off-by: default avatarYaniv Gardi <ygardi@codeaurora.org>
    Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
    65d49b3d
phy-qcom-ufs.c 18.8 KB