From aa668d6aac63f5fc02aa63bf25ff36d12510e050 Mon Sep 17 00:00:00 2001
From: Nicolas DET <nd@bplan-gmbh.de>
Date: Fri, 17 Nov 2006 16:03:20 +0100
Subject: [PATCH] [POWERPC] Fix compile issue for Efika platform

This patch fixes a compile issue for the Efika platform recently
introduced by API changes.

Signed-off-by: Nicolas DET <nd@bplan-gmbh.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
---
 arch/powerpc/platforms/efika/Makefile | 2 +-
 arch/powerpc/platforms/efika/setup.c  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/powerpc/platforms/efika/Makefile b/arch/powerpc/platforms/efika/Makefile
index 17b2a781fbae..56d440440236 100644
--- a/arch/powerpc/platforms/efika/Makefile
+++ b/arch/powerpc/platforms/efika/Makefile
@@ -1 +1 @@
-obj-y += setup.o mpc52xx.o pci.o
+obj-y += setup.o pci.o
diff --git a/arch/powerpc/platforms/efika/setup.c b/arch/powerpc/platforms/efika/setup.c
index 3bc1b5fe0cea..110c980ed1e0 100644
--- a/arch/powerpc/platforms/efika/setup.c
+++ b/arch/powerpc/platforms/efika/setup.c
@@ -29,6 +29,7 @@
 #include <asm/machdep.h>
 #include <asm/rtas.h>
 #include <asm/of_device.h>
+#include <asm/of_platform.h>
 #include <asm/mpc52xx.h>
 
 #include "efika.h"
-- 
GitLab