From: Tony Lindgren <tony@atomide.com>
Date: Thu, 13 Dec 2012 11:36:41 +0000 (+0000)
Subject: cpts: Fix build error caused by include of plat/clock.h
X-Git-Tag: v3.8-rc1~40^2~35
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e133b539ae97a44daaa42d96a4607617788c5351;p=users%2Fdwmw2%2Flinux.git

cpts: Fix build error caused by include of plat/clock.h

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 <tony@atomide.com
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c
index 337766738eca9..5e62c1aeeffb2 100644
--- a/drivers/net/ethernet/ti/cpts.c
+++ b/drivers/net/ethernet/ti/cpts.c
@@ -27,8 +27,6 @@
 #include <linux/uaccess.h>
 #include <linux/workqueue.h>
 
-#include <plat/clock.h>
-
 #include "cpts.h"
 
 #ifdef CONFIG_TI_CPTS