linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* cpts: Fix build error caused by include of plat/clock.h
@ 2012-12-13 21:36 Tony Lindgren
  2012-12-14  7:13 ` Richard Cochran
  0 siblings, 1 reply; 5+ messages in thread
From: Tony Lindgren @ 2012-12-13 21:36 UTC (permalink / raw)
  To: linux-arm-kernel

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

--- 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-14 18:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 21:36 cpts: Fix build error caused by include of plat/clock.h Tony Lindgren
2012-12-14  7:13 ` Richard Cochran
2012-12-14  9:55   ` Koen Kooi
2012-12-14 11:09     ` Richard Cochran
2012-12-14 18:18       ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).