From patchwork Mon Nov 26 12:07:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Cochran X-Patchwork-Id: 1801881 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 174BEDF230 for ; Mon, 26 Nov 2012 12:10:17 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TcxTJ-0000Ug-9W; Mon, 26 Nov 2012 12:07:33 +0000 Received: from mail-ee0-f49.google.com ([74.125.83.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TcxTG-0000Tl-4e for linux-arm-kernel@lists.infradead.org; Mon, 26 Nov 2012 12:07:30 +0000 Received: by mail-ee0-f49.google.com with SMTP id c4so4492601eek.36 for ; Mon, 26 Nov 2012 04:07:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=MlKRCH0CsXI5fkE6wo2HSEsHnDci7ReVsha0/wzGKs4=; b=oT++Aljr0cxP7PFbGapvxu8us6dqnZgaMxWGC4gFgoNQQ0WTbSoI0Sjdrpf0SisSVI rteSRoGqHLDvytU3saS+hQYurOdZCsTLqzzv+6kHsAkpLRhgPNnxFHmBYnu92t3DglU+ KA66TiC23G0+HyYhLTINBlFLh2YELqrDNLkmLRV/VcuSOB88SCp+Rz+klRL7EqKQcUXy PoQVQmk7CwlZj9adUvZ5HEu1ZvM3BVXXhnYKGO/Onsel3xdiVvZjppFIp3CdxUwboluM kqJJtLwytgIDwuVtytbqmPRzgv3KZ/VDLO6WbXz6yhndB+EzFecmpQxZmmZji9M/pG4D d4AQ== Received: by 10.14.198.67 with SMTP id u43mr44941983een.7.1353931648104; Mon, 26 Nov 2012 04:07:28 -0800 (PST) Received: from localhost.localdomain (089144206078.atnat0015.highway.a1.net. [89.144.206.78]) by mx.google.com with ESMTPS id w3sm12929550eel.17.2012.11.26.04.07.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 26 Nov 2012 04:07:27 -0800 (PST) From: Richard Cochran To: Subject: [PATCH net-next] cpts: add missing kconfig dependency Date: Mon, 26 Nov 2012 13:07:18 +0100 Message-Id: <1353931638-1023-1-git-send-email-richardcochran@gmail.com> X-Mailer: git-send-email 1.7.2.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121126_070730_337280_585AACD5 X-CRM114-Status: GOOD ( 12.35 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.83.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (richardcochran[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Mugunthan V N , David Miller , linux-arm-kernel@lists.infradead.org, Cyril Chemparathy X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The Common Platform Time Sync function of the CPSW does not depend the CPSW configuration option as it should. This patch fixes the issue by adding the dependency. Signed-off-by: Richard Cochran --- drivers/net/ethernet/ti/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig index 48fcb5e..4426151 100644 --- a/drivers/net/ethernet/ti/Kconfig +++ b/drivers/net/ethernet/ti/Kconfig @@ -62,6 +62,7 @@ config TI_CPSW config TI_CPTS boolean "TI Common Platform Time Sync (CPTS) Support" + depends on TI_CPSW select PTP_1588_CLOCK ---help--- This driver supports the Common Platform Time Sync unit of