From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76C43C63777 for ; Mon, 30 Nov 2020 15:40:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E6CC720725 for ; Mon, 30 Nov 2020 15:40:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YwXhK+qG"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="oFaE7bMw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E6CC720725 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EhCroCpVXm33fSbaYJZEihrdrLbQEhoAURCtxJLKZX4=; b=YwXhK+qGgFiNB8SJYHhixcSDt Iq3Es8dc84DgPU8j08lrQa8MIdEf50OZeEKHdyUOdIfVFaWL66GEwmZ0UQQ6JZ2Td+Qg3Kf/J2ZtN zTRz6W+LdeUxWhuF754gW6bHjnPvkuPQwgd32JB46z43leM5dJ2LJf71xAgTnPx1Xu+uRwkzRRA0b uojA5ryjyk8eoRypfDwZLHEBcm5spnmx6cNQP0ANhmjkxvEImdAO1I80FyVSWdhI1rtjt9CCD4HdR +lvTs3ZkxNB5cLPnUfCMUc7ZOz1XlghiTFgGUhThY39yaU2PSFawbdRHBBUow3HnAXkZ4qIfVPeGX e3pH3goVQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjlH1-0001gk-P1; Mon, 30 Nov 2020 15:39:31 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjlGy-0001fP-JT; Mon, 30 Nov 2020 15:39:29 +0000 Received: from localhost (unknown [122.171.214.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C3CA2206C0; Mon, 30 Nov 2020 15:39:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606750767; bh=7f4KPZ4iCisw1kDO37mrD2ADltaAvJw3PYEd004KdcQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oFaE7bMwAMwcR764NAnL3/nzWmHQ0jrv+mfH2NWabKqNrZbLbajElNCV5kGb85xMI ahd6Wm1OHFWfzj41bNyrvis7+SmK7ZkEp9H6yw1dGP0QQt2IQMfp0iI/8avfksG/M7 GxRHpX6WHE9JrJw31d1Jj3ppp7mdLbJ/sDdAJDEE= Date: Mon, 30 Nov 2020 21:09:23 +0530 From: Vinod Koul To: Tiezhu Yang Subject: Re: [PATCH v2] phy: mediatek: Make PHY_MTK_{XSPHY,TPHY} depend on HAS_IOMEM and OF_ADDRESS to fix build errors Message-ID: <20201130153923.GV8403@vkoul-mobl> References: <1606289865-692-1-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1606289865-692-1-git-send-email-yangtiezhu@loongson.cn> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201130_103928_849161_BD111445 X-CRM114-Status: GOOD ( 11.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Randy Dunlap , linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , linux-mediatek@lists.infradead.org, Chunfeng Yun , Xuefeng Li , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 25-11-20, 15:37, Tiezhu Yang wrote: > devm_ioremap_resource() will be not built in lib/devres.c if > CONFIG_HAS_IOMEM is not set, of_address_to_resource() will be > not built in drivers/of/address.c if CONFIG_OF_ADDRESS is not > set, and then there exists two build errors about undefined > reference to "devm_ioremap_resource" and "of_address_to_resource" > in phy-mtk-xsphy.c under COMPILE_TEST and CONFIG_PHY_MTK_XSPHY, > make PHY_MTK_XSPHY depend on HAS_IOMEM and OF_ADDRESS to fix it. Applied, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel