]> err.no Git - linux-2.6/commit
[POWERPC] pasemi: Only call of_platform_bus_probe() on relevant platforms
authorOlof Johansson <olof@lixom.net>
Tue, 1 May 2007 04:43:39 +0000 (14:43 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 2 May 2007 10:04:32 +0000 (20:04 +1000)
commit90f7afefaeda946977824617c225b53f0813e357
tree9e70ce6650de7ab51c45f6af349a32c0387c1ccc
parent40cd3a4564ed6b7bc0279430120ca0e9b83cf486
[POWERPC] pasemi: Only call of_platform_bus_probe() on relevant platforms

Only publish of_platform devices if running on a machine that has them.

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pasemi/setup.c