[PATCH] ppc32: Fixup <asm/time.h> includes
include/asm-ppc/time.h has a slightly odd include list which means that some files include <asm/time.h> and also hope to get others that they really shouldn't be. This makes <asm/time.h> use <linux/types.h> (time_t) and <linux/rtc.h> (struct rtc_time) instead of <linux/mc16818rtc.h>, and fixes up the fallout from the change. Compile-tested on lite5200, walnut and defconfig, along with by-hand'ing everything else that included <asm/time.h>. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment