Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1455041ybt; Sat, 20 Jun 2020 10:53:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuMYxw2eUvuKfHpPwvq/7GoWl4+ZZGSzjmPpIngVAmYpLnp43on8gnBl+pJKUdJUUXU7Ho X-Received: by 2002:aa7:da4f:: with SMTP id w15mr8783575eds.384.1592675594923; Sat, 20 Jun 2020 10:53:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592675594; cv=none; d=google.com; s=arc-20160816; b=n6Yb4t1sHoECa6boSiaOe6riOMVUIZENcNuNMIamW210touAY96BeQAIabuRU0JUIl r2y2FkdTQcI3j/silKowrTkMfo6A5SICoQKN0/Akqcz3uc0/nmtz80kXuwjBxDOSvEqt a6C5hU1V0S48vrt3rdzkiPq0WeJF9YshyjbuLJ8naddyQRaO6Hd631MIEzIvsyDzmQcY HQfOBpLBlSDZCNV6uDIFluUf/WHDQ3lBaHNAkIGoi0aIXJMu3lFdiOQtMZ20qvr1vuAE oXN4YYnQE47IMyzmfA9P4+GJcvTUCEhnTV211I8IcFKM8Y3sVP48nNyqbQxOyJhDQWWU 0wxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=kgQx6GkHG+g2FYavxug1XfQFwsmcK85FkVaRvxsVKak=; b=wggQJJ/aeMx2zXS4RiOgPO4dgwEcT3/XYoFgT8oNZFXLlvkT6KUirPNQPA+xsiXEd5 oAQugXCgR0yXSdzcQhMnwKwUv4o0chJPvZIbLtRshKyxJN9VAVJK4TYI22kFlnBANLjb Gqd37p+cDLFmmjEv4MWU6tNwuZx6WR0VDENCKLxMSefW6pfvKRSix3vmQQ3h5bMK+ng6 PNjh5e8mZ937ddbb0FZWp2uBb2xmwoWVGMyYXbGbdG2r2V8KQIxC95HapjB3lIjdRc5C g8FeATBijZs6ck1iP3PvlN2nK09dHkXOkOxnQkOFD5ZStcAXXUJj8BKjhBvrlkRECc+F rgTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=mCErTwcX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si6530609eds.50.2020.06.20.10.52.52; Sat, 20 Jun 2020 10:53:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=mCErTwcX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728372AbgFTRvJ (ORCPT + 99 others); Sat, 20 Jun 2020 13:51:09 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:19100 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726838AbgFTRvJ (ORCPT ); Sat, 20 Jun 2020 13:51:09 -0400 Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200620175106epoutp011717ddd0873c9cd4ee8b924f53119a8c~aUeYT5TLW3036330363epoutp01h for ; Sat, 20 Jun 2020 17:51:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200620175106epoutp011717ddd0873c9cd4ee8b924f53119a8c~aUeYT5TLW3036330363epoutp01h DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1592675466; bh=kgQx6GkHG+g2FYavxug1XfQFwsmcK85FkVaRvxsVKak=; h=From:To:Cc:Subject:Date:References:From; b=mCErTwcXor+EgQBDL6q5bWbxhFnCLx9Dpmkh1GLuCfRAp2MuPtXfdH6sXfIXeocib bzlM7Yxv2Uy9Dx86eoTp7xSyqt3cIUNeR+HzZsl6JiE4P4lESP8LHCwaK56Cm56Chm IMpNJm0K1eKcPy9QYz+O/nL5YX0QA9Wd6xv+j3do= Received: from epsmges5p3new.samsung.com (unknown [182.195.42.75]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20200620175105epcas5p2a0f9f291f07c0bb8dc780b10d9f2f363~aUeXA9T8a2357823578epcas5p2L; Sat, 20 Jun 2020 17:51:05 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id B5.00.09475.98C4EEE5; Sun, 21 Jun 2020 02:51:05 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20200620175104epcas5p25068bb07029c9d6aff56623e4ecb0a26~aUeVyRbn42357823578epcas5p2K; Sat, 20 Jun 2020 17:51:04 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200620175104epsmtrp1c6797b3456983879c679dfb1c8b488b9~aUeVxm_Z81505115051epsmtrp1O; Sat, 20 Jun 2020 17:51:04 +0000 (GMT) X-AuditID: b6c32a4b-39fff70000002503-e4-5eee4c8907b5 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 72.0D.08382.78C4EEE5; Sun, 21 Jun 2020 02:51:04 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200620175102epsmtip1e73ed9d8a4a6d1ef5bca3b802c7f6bf3~aUeUes8-P3245232452epsmtip1T; Sat, 20 Jun 2020 17:51:02 +0000 (GMT) From: Alim Akhtar To: linux-scsi@vger.kernel.org Cc: avri.altman@wdc.com, martin.petersen@oracle.com, kwmad.kim@samsung.com, stanley.chu@mediatek.com, cang@codeaurora.org, linux-kernel@vger.kernel.org, jejb@linux.ibm.com, Alim Akhtar Subject: [PATCH -next] scsi: ufs: allow exynos ufs driver to build as module Date: Sat, 20 Jun 2020 23:02:32 +0530 Message-Id: <20200620173232.52521-1-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLIsWRmVeSWpSXmKPExsWy7bCmum6nz7s4g/O3JCwezNvGZvHy51U2 i0/rl7FaLLqxjcni5pajLBaXd81hs+i+voPNYvnxf0wWS7feZHTg9Ljc18vkMWHRAUaPlpP7 WTw+Pr3F4tG3ZRWjx+dNch7tB7qZAtijuGxSUnMyy1KL9O0SuDKezXjFVLCEv2J++0+mBsaj vF2MnBwSAiYS/2duYwGxhQR2M0rcWCTaxcgFZH9ilFi75QUjhPONUeLnnj5mmI7FHR3sEIm9 jBIfOvexQ7S3MEl8Wc0NYrMJaEvcnb6FCcQWEZCT2Lz8KwtIA7PANUaJc21/wPYJC/hIfNv1 mRXEZhFQlbi4/D+YzStgI7H22yM2iG3yEqs3HGAGaZYQOMcusaX1GhNEwkViyYQfUEXCEq+O b2GHsKUkXva3AdkcQHa2RM8uY4hwjcTSecdYIGx7iQNX5rCAlDALaEqs36UPEmYW4JPo/f2E CaKTV6KjTQiiWlWi+d1VqE5piYnd3awQJR4SU2YwQnweK3Fu9T3WCYwysxBmLmBkXMUomVpQ nJueWmxaYJyXWq5XnJhbXJqXrpecn7uJEZwCtLx3MD568EHvECMTB+MhRgkOZiUR3sPv38QJ 8aYkVlalFuXHF5XmpBYfYpTmYFES51X6cSZOSCA9sSQ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lQvsbbdsm6quKTwNfOdxb8X7s5smbVxswfTk6+ym8gKPqza8gVHN/infc/omB+5w/XPE aGOG9rk5aZwXjTXUxW+su3T8k7Hc1sRO1h61Nr36e/K5TXnTtZqXv0iMrV77vjnA8EjyEZuJ am+jIs83B3ox6s3lsS7KyGtsmjG5+r/9MqNYiW6lqet33dM+cN30sUxX9Frm649uLdwQcuGg r+u1xx4+fvMP+ihznvp54pkSS3FGoqEWc1FxIgB4kK2XpwIAAA== X-CMS-MailID: 20200620175104epcas5p25068bb07029c9d6aff56623e4ecb0a26 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P X-CMS-RootMailID: 20200620175104epcas5p25068bb07029c9d6aff56623e4ecb0a26 References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allow Exynos UFS driver to build as a module. This patch fix the below build issue reported by kernel build robot. drivers/scsi/ufs/ufs-exynos.o: in function `exynos_ufs_probe': drivers/scsi/ufs/ufs-exynos.c:1231: undefined reference to `ufshcd_pltfrm_init' drivers/scsi/ufs/ufs-exynos.o: in function `exynos_ufs_pre_pwr_mode': drivers/scsi/ufs/ufs-exynos.c:635: undefined reference to `ufshcd_get_pwr_dev_param' drivers/scsi/ufs/ufs-exynos.o:undefined reference to `ufshcd_pltfrm_shutdown' drivers/scsi/ufs/ufs-exynos.o:undefined reference to `ufshcd_pltfrm_suspend' drivers/scsi/ufs/ufs-exynos.o:undefined reference to `ufshcd_pltfrm_resume' drivers/scsi/ufs/ufs-exynos.o:undefined reference to `ufshcd_pltfrm_runtime_suspend' drivers/scsi/ufs/ufs-exynos.o:undefined reference to `ufshcd_pltfrm_runtime_resume' drivers/scsi/ufs/ufs-exynos.o:undefined reference to `ufshcd_pltfrm_runtime_idle' Fixes: 55f4b1f73631 ("scsi: ufs: ufs-exynos: Add UFS host support for Exynos SoCs") Reported-by: kernel test robot Signed-off-by: Alim Akhtar --- drivers/scsi/ufs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig index 8cd90262784d..3188a50dfb51 100644 --- a/drivers/scsi/ufs/Kconfig +++ b/drivers/scsi/ufs/Kconfig @@ -162,7 +162,7 @@ config SCSI_UFS_BSG If unsure, say N. config SCSI_UFS_EXYNOS - bool "EXYNOS specific hooks to UFS controller platform driver" + tristate "EXYNOS specific hooks to UFS controller platform driver" depends on SCSI_UFSHCD_PLATFORM && (ARCH_EXYNOS || COMPILE_TEST) select PHY_SAMSUNG_UFS help base-commit: ce2cc8efd7a40cbd17841add878cb691d0ce0bba prerequisite-patch-id: c12207f678b32e29496ec7e324425c8f49422a2c prerequisite-patch-id: 8263330366e8c180c0ab9f76fbd4dbbcf0bee427 prerequisite-patch-id: 7456972c04fc1a76c922196aecd98e9ed17cc6eb -- 2.17.1