m68k/q40: Add missing platform check before registering platform devices
On multi-platform kernels, the Q40/Q60 platform devices should be
registered when running on Q40/Q60 only. Else it may crash later.
Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
Showing
想要评论请 注册 或 登录