[PATCH] powerpc/85xx: Fix compile error on p3060_qds.c

Subsystems: linux for powerpc (32-bit and 64-bit), linux for powerpc embedded ppc85xx, the rest

STALE5385d

2 messages, 1 author, 2011-11-20 · open the first message on its own page

[PATCH] powerpc/85xx: Fix compile error on p3060_qds.c

From: Kumar Gala <hidden>
Date: 2011-11-20 15:59:38

arch/powerpc/platforms/85xx/p3060_qds.c: In function '__machine_initcall_p3060_qds_declare_of_platform_devices':
arch/powerpc/platforms/85xx/p3060_qds.c:73:1: error: implicit declaration of function 'declare_of_platform_devices'

declare_of_platform_devices should have been corenet_ds_publish_devices.

Signed-off-by: Kumar Gala <redacted>
---
 arch/powerpc/platforms/85xx/p3060_qds.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/platforms/85xx/p3060_qds.c b/arch/powerpc/platforms/85xx/p3060_qds.c
index 01dcf44..081cf4a 100644
--- a/arch/powerpc/platforms/85xx/p3060_qds.c
+++ b/arch/powerpc/platforms/85xx/p3060_qds.c
@@ -70,7 +70,7 @@ define_machine(p3060_qds) {
 	.power_save		= e500_idle,
 };
 
-machine_device_initcall(p3060_qds, declare_of_platform_devices);
+machine_device_initcall(p3060_qds, corenet_ds_publish_devices);
 
 #ifdef CONFIG_SWIOTLB
 machine_arch_initcall(p3060_qds, swiotlb_setup_bus_notifier);
-- 
1.7.3.4

Re: [PATCH] powerpc/85xx: Fix compile error on p3060_qds.c

From: Kumar Gala <hidden>
Date: 2011-11-20 16:13:36

On Nov 20, 2011, at 9:59 AM, Kumar Gala wrote:
arch/powerpc/platforms/85xx/p3060_qds.c: In function =
'__machine_initcall_p3060_qds_declare_of_platform_devices':
arch/powerpc/platforms/85xx/p3060_qds.c:73:1: error: implicit =
declaration of function 'declare_of_platform_devices'
=20
declare_of_platform_devices should have been =
corenet_ds_publish_devices.
=20
Signed-off-by: Kumar Gala <redacted>
---
arch/powerpc/platforms/85xx/p3060_qds.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
applied to merge

- k=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help