[PATCH v6 4/9] add platform support for MPC837x MDS board
Li Yang-r58472
LeoLi at freescale.com
Fri Oct 19 13:56:34 EST 2007
> -----Original Message-----
> From: Stephen Rothwell [mailto:sfr at canb.auug.org.au]
> Sent: Friday, October 19, 2007 8:43 AM
> To: Li Yang-r58472
> Cc: galak at kernel.crashing.org; paulus at samba.org;
> linuxppc-dev at 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
More information about the Linuxppc-dev
mailing list