[PATCH 3/3] ppc64-specific memory notifier support

Stephen Rothwell sfr at canb.auug.org.au
Sat Mar 1 13:51:23 EST 2008


On Fri, 29 Feb 2008 09:47:16 -0800 Badari Pulavarty <pbadari at us.ibm.com> wrote:
>
> Here is the latest for review. (just to make sure I didn't miss
> anything).

Sorry I didn't review the previous ones ... just a small thing.

> +	type = of_get_property(np, "device_type", NULL);

To use the of_ accessors, you need to include linux/of.h (currently
asm/prom.h include linux/of.h, but that may not always be true).  In
fact, I think you don't even need asm/prom.h.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080301/c722da7d/attachment.pgp>


More information about the Linuxppc-dev mailing list