From patchwork Fri May 25 15:37:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 136949 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3743675lji; Fri, 25 May 2018 08:37:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpxV+BiYA9s6IXwT8hxRJvKQDJw1IhcRVLBL1at0pCv0OF0KH55dlxi61J1ZwdvsBdEYeMI X-Received: by 2002:a65:4549:: with SMTP id x9-v6mr2434315pgr.158.1527262657944; Fri, 25 May 2018 08:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527262657; cv=none; d=google.com; s=arc-20160816; b=OA7PL5uxrTBsJu74Wv0Igy/zSPWZdJw4kfvu8KZbup/hrIUKmvqCymrSSfKxlgdpEA Q2BrSUE0tkPrpzWe4QWBgOrCHOMCg2lMIaBtdZ9CG15WJpVvlyepgs3HY5tH2LdDfEW8 9iDNKHNd4Gxe8K2ZJMpm8QCmSi7UMwsm1icDFOn1f+Ksg7KuqHzHEfvzuj9mFWFtndlx rOtMklRlS0cx0fD4WU750S+un2MZsmFLF63k0zG6hzYa5Ct1WafTcmZ1PFbc5l0CUm69 vrGybR05Ec9LDWhxIhSKqcdwte4URuKY0M7kuZkRIGKfntu2aGJrhHSWaHCfRf7WLoVe 5iFg== 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=Uaci/ZKb2mwoF2HICB5g3J2nWp5w8mKyyGzDVMnen2I=; b=lcjcOkVo4V0VOybCQlfb8Ff3wsNgbxKv53T6zBZpmeGAvUUfXADU2Mb9DnBaJdmsqg tWT0gUwYyXnqB4MHzYpW2fk9ANGI/wjIgZm25Q6+bxbUV07E0/W46PHXM9Z3yDcUszu5 LlMrM72tWS4huoslmFSN1RTHAc4IbSgR6y26hW7jA35WzAINLKJIvhfdtsVceTcQVnCd QxOWnVkTIVQmhNFEV/oI7SbOwSLVp9IJJtaCyjTe6VCd95ZwVy9U78Cj9Y442vbKyzRf XzyaClPllja6czJdc8EYiZgoXfkpB4iVVL1dzztHnxyqGDQ5i4Plt6LJbKeS23SEvv6v JdlA== 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 c17-v6si7260097pgp.408.2018.05.25.08.37.37; Fri, 25 May 2018 08:37:37 -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 S966692AbeEYPhe (ORCPT + 30 others); Fri, 25 May 2018 11:37:34 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:56151 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965570AbeEYPhc (ORCPT ); Fri, 25 May 2018 11:37:32 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0LqUEr-1g0GMI2MU5-00e5qP; Fri, 25 May 2018 17:37:27 +0200 From: Arnd Bergmann To: Greg Kroah-Hartman Cc: Arnd Bergmann , Yangbo Lu , Razvan Stefanescu , Laurentiu Tudor , Ioana Radulescu , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: fsl-dpaa2/rtc: fix PTP dependency Date: Fri, 25 May 2018 17:37:12 +0200 Message-Id: <20180525153725.3266389-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:6g7zJvLh9w0GMdkIY49YLEiA7v5DrmDmthQ3EYrOh/5Zs9jBtIn 95Qai6kP/Y2LxaKZAG6GyXfkDLhy/rkC5cnIl/JvqpehoaGjLCIGwdA6bdN39Hz5R6Bafxu gLjrolq7fSTy7exfsSbW783tgYO0yXC7ZM9cx1/IXQOkZS8njoz/6lWqQsgptseFP7OZ2eU bcbiIK8PZ4/DyvGSF89EQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:TyC44pfAd0g=:07owtX7+ta12J0H+l+TNDB nc5pjVAQFij+RDPLUa1J9g/5+u5a7YbwMTHo7SsIjhhJfduJdMedr87f3afyaxz2kElLCOkyc 5CPpIkOblu+HhYRGpwS0m0tuYh9VShceAZAyAZF9qgppPFpK5f4YbxpeLy4Y0PBTSgo7Nnvh4 fCzT0JXRAlOLSL64b5Q3uZHOkuei8L1bXp+FvU9VEMvUh/OuDyOgUyG7ibMXluX/MzxAxGFu5 9AG72r+6kqVgVB6WHjLSMIkWBgzjeEXuud4THlvmRDez7jLX03fhkdPAMMBibqefLBcWrFld2 QgLJhqCJoXocrrOaAJqhPMv0wMrN8KUvc/rQnlk00zJ0qIDkV2vE5u4e2L+ghQbWU2/KlQ5uk u7R96wp75DkVfbMpkLnkSK5RV6OsLX44/I5NFsBtLA1k3QD1oZ5fHlruk9bapTaSFiwSx5l6Z ZT8pDDI0PzGpX1XRILCIxfnOM8/K294/8SUI6dxqcmOf8f82jmuhM4kXrDiAm1dxbdfl/95U0 +AFrS9DbxX0+Ht8ieJTGfJlL/BhFEN4y2vQ/UkkKyauaqrJKYtYphnF+Z19jvrNdOfoN+0imR 8OfPX/sMjKlhV+A3bLgeXtEzfKDzc/MkEtFkruSr1NmxdrXtFR1J2b81H0ktI6gbHlr998b9Z suW1uSvjSM/bLisQVBnhubUlcUHu2xW0FSl+n/TxYl54RmaEUggKcYNritcufdXETTnA= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We can't select PTP_1588_CLOCK when posix timers are completely disabled: WARNING: unmet direct dependencies detected for PTP_1588_CLOCK Depends on [n]: NET [=y] && POSIX_TIMERS [=n] Selected by [y]: - FSL_DPAA2_PTP_CLOCK [=y] && STAGING [=y] && FSL_DPAA2_ETH [=y] This adds the necessary dependency. Fixes: 9bdf43b3d40f ("staging: fsl-dpaa2/rtc: add rtc driver") Signed-off-by: Arnd Bergmann --- drivers/staging/fsl-dpaa2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 diff --git a/drivers/staging/fsl-dpaa2/Kconfig b/drivers/staging/fsl-dpaa2/Kconfig index cad016aee3b5..a4c4b83ddc9c 100644 --- a/drivers/staging/fsl-dpaa2/Kconfig +++ b/drivers/staging/fsl-dpaa2/Kconfig @@ -27,7 +27,7 @@ config FSL_DPAA2_ETHSW config FSL_DPAA2_PTP_CLOCK tristate "Freescale DPAA2 PTP Clock" - depends on FSL_DPAA2_ETH + depends on FSL_DPAA2_ETH && POSIX_TIMERS select PTP_1588_CLOCK help This driver adds support for using the DPAA2 1588 timer module