From: Grant Likely Date: Thu, 15 Jul 2010 05:51:43 +0000 (-0600) Subject: drivers/of: fix build error when CONFIG_PPC_DCR is set X-Git-Tag: v2.6.36-rc1~543^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=596c955c126608b51ac1ca56de9d670c1f6464cb;p=pandora-kernel.git drivers/of: fix build error when CONFIG_PPC_DCR is set Commit 94c0931983ee9d1cd96c32d52ac64c17464f0bbd (of: Merge of_device_alloc() and of_device_make_bus_id()) moved code that does calls a dcr routine without including the correct header which causes the following build error on some powerpc configurations: drivers/of/platform.c: In function 'of_device_make_bus_id': drivers/of/platform.c:437: error: implicit declaration of function 'of_translate_dcr_address' This patch adds the appropriate header to drivers/of/platform.c Signed-off-by: Grant Likely --- Reading git-diff-tree failed