* [PATCH] [POWERPC] Fix 8xx compile failure
@ 2007-08-17 13:24 Kumar Gala
2007-08-17 15:55 ` Stephen Rothwell
0 siblings, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2007-08-17 13:24 UTC (permalink / raw)
To: linuxppc-dev
CC arch/powerpc/sysdev/commproc.o
arch/powerpc/sysdev/fsl_soc.c: In function fsl_pcmcia_of_init:
arch/powerpc/sysdev/fsl_soc.c:1109: error: implicit declaration of function of_platform_device_create
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
This patch is in the fixes-2.6.23 branch of my git tree
arch/powerpc/sysdev/fsl_soc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c
index 727453d..f6943fc 100644
--- a/arch/powerpc/sysdev/fsl_soc.c
+++ b/arch/powerpc/sysdev/fsl_soc.c
@@ -36,6 +36,7 @@
#include <sysdev/fsl_soc.h>
#include <mm/mmu_decl.h>
#include <asm/cpm2.h>
+#include <asm/of_platform.h>
extern void init_fcc_ioports(struct fs_platform_info*);
extern void init_fec_ioports(struct fs_platform_info*);
--
1.5.2.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] [POWERPC] Fix 8xx compile failure
2007-08-17 13:24 [PATCH] [POWERPC] Fix 8xx compile failure Kumar Gala
@ 2007-08-17 15:55 ` Stephen Rothwell
2007-08-17 16:11 ` Kumar Gala
0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2007-08-17 15:55 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 593 bytes --]
Hi Kumar,
On Fri, 17 Aug 2007 08:24:02 -0500 (CDT) Kumar Gala <galak@kernel.crashing.org> wrote:
>
> diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c
> index 727453d..f6943fc 100644
> --- a/arch/powerpc/sysdev/fsl_soc.c
> +++ b/arch/powerpc/sysdev/fsl_soc.c
> @@ -36,6 +36,7 @@
> #include <sysdev/fsl_soc.h>
> #include <mm/mmu_decl.h>
> #include <asm/cpm2.h>
> +#include <asm/of_platform.h>
linux/of_platform.h should be used these days.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] [POWERPC] Fix 8xx compile failure
2007-08-17 15:55 ` Stephen Rothwell
@ 2007-08-17 16:11 ` Kumar Gala
2007-08-17 16:19 ` Stephen Rothwell
0 siblings, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2007-08-17 16:11 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linuxppc-dev
On Aug 17, 2007, at 10:55 AM, Stephen Rothwell wrote:
> Hi Kumar,
>
> On Fri, 17 Aug 2007 08:24:02 -0500 (CDT) Kumar Gala
> <galak@kernel.crashing.org> wrote:
>>
>> diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/
>> fsl_soc.c
>> index 727453d..f6943fc 100644
>> --- a/arch/powerpc/sysdev/fsl_soc.c
>> +++ b/arch/powerpc/sysdev/fsl_soc.c
>> @@ -36,6 +36,7 @@
>> #include <sysdev/fsl_soc.h>
>> #include <mm/mmu_decl.h>
>> #include <asm/cpm2.h>
>> +#include <asm/of_platform.h>
>
> linux/of_platform.h should be used these days.
ok fixed.
- k
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] [POWERPC] Fix 8xx compile failure
2007-08-17 16:11 ` Kumar Gala
@ 2007-08-17 16:19 ` Stephen Rothwell
2007-08-17 18:35 ` Kumar Gala
0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2007-08-17 16:19 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 938 bytes --]
Hi Kumar,
On Fri, 17 Aug 2007 11:11:20 -0500 Kumar Gala <galak@kernel.crashing.org> wrote:
>
> On Aug 17, 2007, at 10:55 AM, Stephen Rothwell wrote:
>
> > On Fri, 17 Aug 2007 08:24:02 -0500 (CDT) Kumar Gala
> > <galak@kernel.crashing.org> wrote:
> >>
> >> diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/
> >> fsl_soc.c
> >> index 727453d..f6943fc 100644
> >> --- a/arch/powerpc/sysdev/fsl_soc.c
> >> +++ b/arch/powerpc/sysdev/fsl_soc.c
> >> @@ -36,6 +36,7 @@
> >> #include <sysdev/fsl_soc.h>
> >> #include <mm/mmu_decl.h>
> >> #include <asm/cpm2.h>
> >> +#include <asm/of_platform.h>
> >
> > linux/of_platform.h should be used these days.
>
> ok fixed.
I notice that the master branch of your tree has both includes in this
file now :-) Git's merges are not always perfect.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] [POWERPC] Fix 8xx compile failure
2007-08-17 16:19 ` Stephen Rothwell
@ 2007-08-17 18:35 ` Kumar Gala
0 siblings, 0 replies; 5+ messages in thread
From: Kumar Gala @ 2007-08-17 18:35 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linuxppc-dev
On Aug 17, 2007, at 11:19 AM, Stephen Rothwell wrote:
> Hi Kumar,
>
> On Fri, 17 Aug 2007 11:11:20 -0500 Kumar Gala
> <galak@kernel.crashing.org> wrote:
>>
>> On Aug 17, 2007, at 10:55 AM, Stephen Rothwell wrote:
>>
>>> On Fri, 17 Aug 2007 08:24:02 -0500 (CDT) Kumar Gala
>>> <galak@kernel.crashing.org> wrote:
>>>>
>>>> diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/
>>>> fsl_soc.c
>>>> index 727453d..f6943fc 100644
>>>> --- a/arch/powerpc/sysdev/fsl_soc.c
>>>> +++ b/arch/powerpc/sysdev/fsl_soc.c
>>>> @@ -36,6 +36,7 @@
>>>> #include <sysdev/fsl_soc.h>
>>>> #include <mm/mmu_decl.h>
>>>> #include <asm/cpm2.h>
>>>> +#include <asm/of_platform.h>
>>>
>>> linux/of_platform.h should be used these days.
>>
>> ok fixed.
>
> I notice that the master branch of your tree has both includes in this
> file now :-) Git's merges are not always perfect.
And I had such great hopes for keeping the master branch up to date
and sane... should all now be fixed.
- k
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-08-17 18:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17 13:24 [PATCH] [POWERPC] Fix 8xx compile failure Kumar Gala
2007-08-17 15:55 ` Stephen Rothwell
2007-08-17 16:11 ` Kumar Gala
2007-08-17 16:19 ` Stephen Rothwell
2007-08-17 18:35 ` Kumar Gala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).