On Sun, 14 Oct 2007 10:09:23 +0200 Domen Puncer [off-list ref] wrote:
quoted hunk ↗ jump to hunk
+++ linux.git/arch/powerpc/platforms/52xx/mpc52xx_clock.c
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/list.h>
+#include <linux/errno.h>
+#include <linux/spinlock.h>
+#include <linux/clk.h>
+
+#include <asm/io.h>
+#include <asm/mpc52xx.h>
+#include <asm/clk_interface.h>
You should include <linux/of.h> to use struct device_node and its
accessors.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/