From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: cpts: Fix build error caused by include of plat/clock.h Date: Thu, 13 Dec 2012 13:36:41 -0800 Message-ID: <20121213213641.GF4989@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, netdev@vger.kernel.org, Richard Cochran To: "David S. Miller" Return-path: Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:49045 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754757Ab2LMVgr (ORCPT ); Thu, 13 Dec 2012 16:36:47 -0500 Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: Commit 87c0e764 (cpts: introduce time stamping code and a PTP hardware clock) mistakenly included plat/clock.h that should not be included by drivers even if it exists. Otherwise we get the following error with at least omap2plus_defconfig: drivers/net/ethernet/ti/cpts.c:30:24: error: plat/clock.h: No such file or directory Signed-off-by: Tony Lindgren #include -#include - #include "cpts.h" #ifdef CONFIG_TI_CPTS