From f16685014e50d016629dc7af79c4d4fbbd3d9d55 Mon Sep 17 00:00:00 2001 From: Anton Ivanov Date: Wed, 22 Nov 2017 13:49:55 +0000 Subject: um: Add missing EXPORT for free_irq_by_fd() Fixes: ERROR: "free_irq_by_fd" [arch/um/drivers/random.ko] undefined! Signed-off-by: Anton Ivanov Signed-off-by: Richard Weinberger --- arch/um/kernel/irq.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/um/kernel') diff --git a/arch/um/kernel/irq.c b/arch/um/kernel/irq.c index 980148d56537..6b7f3827d6e4 100644 --- a/arch/um/kernel/irq.c +++ b/arch/um/kernel/irq.c @@ -328,6 +328,7 @@ void free_irq_by_fd(int fd) garbage_collect_irq_entries(); spin_unlock_irqrestore(&irq_lock, flags); } +EXPORT_SYMBOL(free_irq_by_fd); static void free_irq_by_irq_and_dev(unsigned int irq, void *dev) { -- cgit v1.2.3