Skip to content

Commit

Permalink
cpts: Fix build error caused by include of plat/clock.h
Browse files Browse the repository at this point in the history
Commit 87c0e76 (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>
  • Loading branch information
Tony Lindgren authored and David S. Miller committed Dec 14, 2012
1 parent e337e24 commit e133b53
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ethernet/ti/cpts.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
#include <linux/uaccess.h>
#include <linux/workqueue.h>

#include <plat/clock.h>

#include "cpts.h"

#ifdef CONFIG_TI_CPTS
Expand Down

0 comments on commit e133b53

Please sign in to comment.