> -----Original Message----- > From: Stephen Rothwell [mailto:[EMAIL PROTECTED] > Sent: Friday, October 19, 2007 8:43 AM > To: Li Yang-r58472 > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > linuxppc-dev@ozlabs.org > Subject: Re: [PATCH v6 4/9] add platform support for MPC837x MDS board
> > +static int __init mpc837x_mds_probe(void) { > > + unsigned long root = of_get_flat_dt_root(); > > + > > + return of_flat_dt_is_compatible(root, "fsl,mpc837xmds"); > > To call these two routines, you should include <asm/prom.h> directly. <asm/prom.h> is included in <linux/of.h> now. Do you think it should be included explicitly? - Leo _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev