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 Return-path: Content-Disposition: inline Sender: netdev-owner@vger.kernel.org To: "David S. Miller" Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, netdev@vger.kernel.org, Richard Cochran List-Id: linux-omap@vger.kernel.org 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