genirq: Restrict export of irq_to_desc()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 Dec 2020 19:26:06 +0000 (20:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 15 Dec 2020 15:19:38 +0000 (16:19 +0100)
commit64a1b95bb9fe3ec76e1a2cd803eff06389341ae4
treee519fd82f2ec739f51847db1cf9761de1eb1cfbc
parent88f0a9d066443118261adf7e049781476f09dac1
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
kernel/irq/irqdesc.c