genirq: Restrict export of irq_to_desc()

No more (ab)use in drivers finally. There is still the modular build of
PPC/KVM which needs it, so restrict it to this case which still makes it
unavailable for most drivers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201210194045.551428291@linutronix.de
This commit is contained in:
Thomas Gleixner 2020-12-10 20:26:06 +01:00
commit 64a1b95bb9