From patchwork Fri May 25 15:38:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 136951 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3745590lji; Fri, 25 May 2018 08:39:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqMV0DsrasTaTosT7a9DiCPNAQjuTfOJ812SgZYnbz4hszlx5JNqERMqxFpSXiQzWXiCTb9 X-Received: by 2002:a63:583:: with SMTP id 125-v6mr1030849pgf.385.1527262758757; Fri, 25 May 2018 08:39:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527262758; cv=none; d=google.com; s=arc-20160816; b=YwYlY41uppG61kRZmcHrN73hkJOmCN3mAH81rrYeHwY7ztJIGCAqu4YoJOVmEGL22o +q3Xg6DQgr2/XMgFiBoUAHqIu+J5Rf3XMO5Rt9uhyziKupk35aZyYQ57NMivhzdavshM YToqBGF3J+yUDvbDCsz1F1a1xcAbDk12lYaB4pusU12jFPfBrq7Vc/r19zmPgn+4Xd7i PuHBTWkx4dmTuXBcWlu8MYNPD7Zu+npnYSGebxPfqeO5azFA6/xm6J86nfvPvZPrGkkz 5GEdYr2XMn4dzMHruUVXLsKuWXPfBwD3D4BZqOC8/41h9DpwjlPh9mv+U28ESmPwn1G+ Ru2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=2gbcGwWEvp9joKB1poxdVFkesrI3y1v/qQP4SnXQxJw=; b=sh2oQTiyBCD0O2Lu0hc9ZkvAqZA8dmA1nCO+jempXhlx7bKSVijsduBB0luvOX5fUr 9LPCol1QHfD/KU+6i3rly+gNp08pjAYivQBau1Y0lRVJO4yz/zifrjFUD23NMYnQfieT NkIN5A6r7riWTLrfvcsl1+HHA9+RAtr5/JbVgjvU4ovfhqT7fLGKvIjM/t7yowgPJrw7 qylWTaOm2jTqwLQcwyDRO5KkRknTWBQYLvy6+DfHZvMgL9PZ4t8iUudNqGfg4SQM/w9H oZ3/WxRXhipGvYTXHwFWu0rVXYKQyfy6fD5URxBvHHbSYbb7Fx2Z/+AeawdS00IGc71j ODng== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8-v6si3321795pgu.6.2018.05.25.08.39.18; Fri, 25 May 2018 08:39:18 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966748AbeEYPjO (ORCPT + 30 others); Fri, 25 May 2018 11:39:14 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:60239 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965666AbeEYPjN (ORCPT ); Fri, 25 May 2018 11:39:13 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0ML7xp-1fMVuw2e1p-000OA3; Fri, 25 May 2018 17:38:47 +0200 From: Arnd Bergmann To: Greg Kroah-Hartman Cc: Arnd Bergmann , Guenter Roeck , ShuFan Lee , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: typec: rt1711h: fix tcpci dependency Date: Fri, 25 May 2018 17:38:25 +0200 Message-Id: <20180525153841.3314617-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:JyBxk+i1NTWhhYTMwJeXtWJaJb+2lC3VUjl6qu207JrB5lK/vYs SU6XpL9gRE8B/Sd1Yt3AWxdBVfGMWCqOGmb6jngyRl5TTV1Ac2180M5/cU3vIC833WNFZKw JHN6ujP465B9JtLPn5CkVAqb2MaiXogfS+WBn8rlMk0AwKGAzJ6H+gJsTGutQxkjDfBYvxg H8EiYQINxeic9OyYsjADQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:0pJQhiWXEtg=:TWkPv5u5J1+xjfJeUnpUtm G8//N09rsIsl43XodNJuLf4pfnDjC4nEMC5yfdhqM7FxBW6/bBSeC5nNscWapxFUjtSJYwBDj 5SCem51NWhuUOb0GTBSB3lhfCGGSp6N7JG/NmyaX+PY+x9uI7IU4Fgjgowu5maI6+aatxMY+U Q2IkRQj6Kbz+x+zNr0pP1uamGLX63MW1CAUQDK4A6Pr56dTTkDO3dYuIubrBs98SXtfENyIOL kvUqzOobDcTt8QQRleABUX1BiIMLWfnaQHo2ex7Fi/BmlKsfOXyllTc5rzSVvpJX/vJd2rsnO O+giYUjMDXWzYlBuXjHYqTivircWa6HL+scGBsF+eNTdVYxm9gLCaMPyslsDa/7qw7/0S77XZ IFiI3EcI7SX286N6UMIht19ZuRjkZF4BFWPKU5iNr1SNvS7exae7ujQHGb3flYNFL9S1zDFV7 DpeOY2i3npzcR13Hv5aJ/eXuMpHJsz1i8aHE9zbiJVrWR2ILaPf+tT5OyDLupOy/9be5nwAl8 ys32ihEoiMu6TvYRiBbWwm0PUcZjAY4UUkJ6gQxW1WwBz7MJhw0mWVgzjlmml15D0ME3oauAW mwgrpngf291aGI2vqjIpX7UssAtgSUCzY3PzcUq6q4TIKo9AevVz+eaadf3uzHZK6whry/gtv ZaTrzog6RMrbE1TOYhKXXMwPNtjSYmpwn9uXjzriRgVSCu81CqChh39BwZrBgrYg7JeA= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Using 'select' instead of the normal 'depends on' causes a build issue with CONFIG_I2C=m: WARNING: unmet direct dependencies detected for TYPEC_TCPCI Depends on [m]: STAGING [=y] && TYPEC_TCPM [=y] && I2C [=m] Selected by [y]: - TYPEC_RT1711H [=y] && STAGING [=y] && TYPEC_TCPM [=y] Fixes: ce08eaeb6388 ("staging: typec: rt1711h typec chip driver") Signed-off-by: Arnd Bergmann --- drivers/staging/typec/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 diff --git a/drivers/staging/typec/Kconfig b/drivers/staging/typec/Kconfig index 3aa981fbc8f5..51474d798f99 100644 --- a/drivers/staging/typec/Kconfig +++ b/drivers/staging/typec/Kconfig @@ -11,7 +11,7 @@ config TYPEC_TCPCI config TYPEC_RT1711H tristate "Richtek RT1711H Type-C chip driver" - select TYPEC_TCPCI + depends on TYPEC_TCPCI help Richtek RT1711H Type-C chip driver that works with Type-C Port Controller Manager to provide USB PD and USB