Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6239446imu; Mon, 21 Jan 2019 05:39:02 -0800 (PST) X-Google-Smtp-Source: ALg8bN4TnnsvZPuxhewZTXCdeSPhiVNeYa6FyNANCOnGPMmF1U/pyQz9One/i15Hs6cxOuj9DeEa X-Received: by 2002:a17:902:5a0b:: with SMTP id q11mr30545643pli.186.1548077942888; Mon, 21 Jan 2019 05:39:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548077942; cv=none; d=google.com; s=arc-20160816; b=irLwqLweGXt6T5hfoRDRsXQ6J0odkZOf4oZsV+Of6N+GKyhuAKm+JDUKdl23HJJ50D bWa7bPKT6PBvUOEf8xE51rvJwNiMR2aABH6TqhANnZSe16gJ2QxgyKytetQLbZggWUlB h4ZLB0ZaFOaD+9V62rf/uChiJLWi5srnAv/wA6oWB23Vakc9WuFDFie/7SiWs1A+xIli M36e6SornQ/TKue5BO6qmz0lgm5dlShlOlqcSwDSHdZgD5Es+8DOs2EwcmGi+j/gDxHh e2/8aim3EvwEeZpjyyzK8pRp3CSMXE5ZOxHQw8k+YAcaJ2PuGuNzN5zKRlFymTq+rAkh nk0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=pcRSgFSRgh5mXj5Pmw18dvQ9Txl8u9glND1i4P/BvsQ=; b=noTU1h2OhlGKUoRnieWbadhU7yPMDezq+p6Qz8uOIH7PHQbzscuwqgPNjKKKs+WQIe ngAJDNU51bsB41HhmdPPKNwCFFLlTbPnfjYlHswUaxe5iSQCPgF/gPTofWIfzOHSlI5m DQ+rzS3mgKHKHUgX6GNeN73TZ79yeFhU/VIfkW9tnekiPJ8hhowKBhVDJUp8NlRRQGVC 1kvxNQVUk2ULJfbGghUSxAFzGm5AmUKfquAZKe/tKNtfayaOvVY7I3ligtg/9rNX7sNT zeei+f+ODwiRS8CYQmrgIHX8/zR0Q6P1P7y9NjX/fSV08iVoGzVD2yeaBn8JzruXhNOs g0ig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c12si12699939pgb.402.2019.01.21.05.38.40; Mon, 21 Jan 2019 05:39:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729099AbfAUNgZ (ORCPT + 99 others); Mon, 21 Jan 2019 08:36:25 -0500 Received: from mga11.intel.com ([192.55.52.93]:8938 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728693AbfAUNgY (ORCPT ); Mon, 21 Jan 2019 08:36:24 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jan 2019 05:36:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,503,1539673200"; d="scan'208";a="293173028" Received: from mylly.fi.intel.com (HELO [10.237.72.159]) ([10.237.72.159]) by orsmga005.jf.intel.com with ESMTP; 21 Jan 2019 05:36:21 -0800 Subject: Re: linux-next: Tree for Jan 18 (i2c-designware-platdrv.c) To: Randy Dunlap , Stephen Rothwell , Linux Next Mailing List Cc: Linux Kernel Mailing List , Baruch Siach , linux-i2c@vger.kernel.org References: <20190118152404.41ecbe4e@canb.auug.org.au> <590dd86f-93ce-16c3-932e-c5ce53035ab2@infradead.org> From: Jarkko Nikula Message-ID: <018b454e-ecd8-0ebe-40cc-ab64d3deea00@linux.intel.com> Date: Mon, 21 Jan 2019 15:36:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <590dd86f-93ce-16c3-932e-c5ce53035ab2@infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On 1/18/19 6:27 PM, Randy Dunlap wrote: > On 1/17/19 8:24 PM, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20190117: >> > > on i386 or x86_64: > > ld: drivers/i2c/busses/i2c-designware-platdrv.o: in function `dw_i2c_plat_resume': > i2c-designware-platdrv.c:(.text+0x4b): undefined reference to `i2c_dw_prepare_clk' > ld: drivers/i2c/busses/i2c-designware-platdrv.o: in function `dw_i2c_plat_suspend': > i2c-designware-platdrv.c:(.text+0x95): undefined reference to `i2c_dw_prepare_clk' > ld: drivers/i2c/busses/i2c-designware-platdrv.o: in function `dw_i2c_plat_probe': > i2c-designware-platdrv.c:(.text+0x63f): undefined reference to `i2c_dw_prepare_clk' > ld: i2c-designware-platdrv.c:(.text+0x686): undefined reference to `i2c_dw_read_comp_param' > ld: i2c-designware-platdrv.c:(.text+0x7b7): undefined reference to `i2c_dw_probe_slave' > ld: i2c-designware-platdrv.c:(.text+0x7c1): undefined reference to `i2c_dw_probe' > > > probably related to: > > WARNING: unmet direct dependencies detected for I2C_DESIGNWARE_PLATFORM > Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && (ACPI [=y] && COMMON_CLK [=n] || !ACPI [=y]) > Selected by [y]: > - MFD_TPS68470 [=y] && HAS_IOMEM [=y] && ACPI [=y] && I2C [=y]=y > Thanks, this is due CONFIG_MFD_TPS68470 which selects the I2C_DESIGNWARE_PLATFORM but not the dependencies. There are two others in drivers/mfd/Kconfig. I'll send a patch changing them to depend on I2C_DESIGNWARE_PLATFORM=y. -- Jarkko