Re: [PATCH v2] m68k: Fix WARNING splat in pmac_zilog driver

2020-11-22 Thread Geert Uytterhoeven
On Sun, Nov 22, 2020 at 12:40 AM Finn Thain wrote: > Don't add platform resources that won't be used. This avoids a > recently-added warning from the driver core, that can show up on a > multi-platform kernel when !MACH_IS_MAC. > > [ cut here ] > WARNING: CPU: 0 PID: 0 at d

[PATCH v2] m68k: Fix WARNING splat in pmac_zilog driver

2020-11-21 Thread Finn Thain
Don't add platform resources that won't be used. This avoids a recently-added warning from the driver core, that can show up on a multi-platform kernel when !MACH_IS_MAC. [ cut here ] WARNING: CPU: 0 PID: 0 at drivers/base/platform.c:224 platform_get_irq_optional+0x8e/0xce