[PATCH 6/9] fs_enet: Be an of_platform device when CONFIG_PPC_CPM_NEW_BINDING is set.
Stephen Rothwell
sfr at canb.auug.org.au
Fri Sep 21 10:08:41 EST 2007
On Thu, 20 Sep 2007 17:01:21 -0500 Scott Wood <scottwood at freescale.com> wrote:
>
> +++ b/drivers/net/fs_enet/fs_enet-main.c
> @@ -44,12 +44,18 @@
> #include <asm/irq.h>
> #include <asm/uaccess.h>
>
> +#ifdef CONFIG_PPC_CPM_NEW_BINDING
> +#include <asm/of_platform.h>
Hmm, didn't I already ask you to change this to linux/of_platform.h?
> +++ b/drivers/net/fs_enet/mac-fcc.c
> @@ -42,6 +42,10 @@
> #include <asm/irq.h>
> #include <asm/uaccess.h>
>
> +#ifdef CONFIG_PPC_CPM_NEW_BINDING
> +#include <asm/of_device.h>
And this to linux/of_device.h
> +++ b/drivers/net/fs_enet/mac-fec.c
> @@ -43,6 +43,10 @@
> #include <asm/commproc.h>
> #endif
>
> +#ifdef CONFIG_PPC_CPM_NEW_BINDING
> +#include <asm/of_device.h>
And this?
> +++ b/drivers/net/fs_enet/mac-scc.c
> @@ -43,6 +43,10 @@
> #include <asm/commproc.h>
> #endif
>
> +#ifdef CONFIG_PPC_CPM_NEW_BINDING
> +#include <asm/of_platform.h>
And this
> +++ b/drivers/net/fs_enet/mii-fec.c
> @@ -36,6 +36,10 @@
> #include <asm/irq.h>
> #include <asm/uaccess.h>
>
> +#ifdef CONFIG_PPC_CPM_NEW_BINDING
> +#include <asm/of_platform.h>
And here
Sorry if I missed these last time around.
--
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/20070921/68746760/attachment.pgp>
More information about the Linuxppc-dev
mailing list