]> git.karo-electronics.de Git - karo-tx-linux.git/commit
m68k/mac: Add missing platform check before registering platform devices
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 18 Mar 2012 12:21:38 +0000 (13:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2012 15:33:47 +0000 (08:33 -0700)
commit3f2d237ff6379e5dd552e9cdb7c2662c0ea89cc8
treea1fe1434546056a9291e8203aea7a9fa89e1b369
parent7be29c2aabb07d7964600f2ffda281a349642efe
m68k/mac: Add missing platform check before registering platform devices

commit 6cfeba53911d6d2f17ebbd1246893557d5ff5aeb upstream.

On multi-platform kernels, the Mac platform devices should be registered
when running on Mac only. Else it may crash later.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/m68k/mac/config.c