cpts: Fix build error caused by include of plat/clock.h
Subsystems (2)
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
drivers/net/ethernet/ti/cpts.c +0 -2
@@ -27,8 +27,6 @@#include <linux/uaccess.h> #include <linux/workqueue.h> -#include <plat/clock.h> -#include "cpts.h" #ifdef CONFIG_TI_CPTS
Quoted 3 lines · Tony Lindgren
Commit
87c0e764(cpts: introduce time stamping code and a PTP hardware clock) mistakenly includedplat/clock.hthat should not be included by drivers even if it exists.
Hasn't this already been fixed?
https://patchwork.kernel.org/patch/1810481/
http://www.spinics.net/lists/linux-omap/msg83132.html
Thanks,
Richard
Op 14 dec. 2012, om 08:13 heeft Richard Cochran <[email protected]> het volgende geschreven:
Quoted 9 lines · Tony Lindgren
Quoted 3 lines
Commit
87c0e764(cpts: introduce time stamping code and a PTP hardware clock) mistakenly includedplat/clock.hthat should not be included by drivers even if it exists.Hasn't this already been fixed?
https://patchwork.kernel.org/patch/1810481/
http://www.spinics.net/lists/linux-omap/msg83132.html
That patch didn't get applied, so it's still broken in Linus' tree :(
regards,
Koen
Quoted 8 lines · Koen Kooi
Op 14 dec. 2012, om 08:13 heeft Richard Cochran <[email protected]> het volgende geschreven:
Quoted 5 lines · Tony Lindgren
Quoted 3 lines
Commit
87c0e764(cpts: introduce time stamping code and a PTP hardware clock) mistakenly includedplat/clock.hthat should not be included by drivers even if it exists.
Quoted 6 lines
Quoted 4 lines
Hasn't this already been fixed?
https://patchwork.kernel.org/patch/1810481/
http://www.spinics.net/lists/linux-omap/msg83132.htmlThat patch didn't get applied, so it's still broken in Linus' tree :(
In netdev's patchwork, this was marked "Not Applicable." Dave, can you possibly take this patch? If not, who should I ask next?
Thanks,
Richard
David Miller
maintainerFrom: Richard Cochran <[email protected]>
Date: Fri, 14 Dec 2012 12:09:18 +0100
Quoted 11 lines · Koen Kooi
Quoted 10 lines
Op 14 dec. 2012, om 08:13 heeft Richard Cochran <[email protected]> het volgende geschreven:
Quoted 7 lines · Tony Lindgren
Quoted 3 lines
Commit
87c0e764(cpts: introduce time stamping code and a PTP hardware clock) mistakenly includedplat/clock.hthat should not be included by drivers even if it exists.Hasn't this already been fixed?
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
https://patchwork.kernel.org/patch/1810481/
http://www.spinics.net/lists/linux-omap/msg83132.htmlThat patch didn't get applied, so it's still broken in Linus' tree :(
In netdev's patchwork, this was marked "Not Applicable." Dave, can you possibly take this patch? If not, who should I ask next?
That's strange, when I look at that patch it's marked "Accepted" ;-)