Forum Discussion
Altera_Forum
Honored Contributor
21 years agounresolved symbols
Hello, I've written a kernel module for some I/O stuff. When I compile it I get the following warnings Code: *Building modules, stage 2. *MODPOST *** Warning: "request_irq" [drivers/misc/s...
Altera_Forum
Honored Contributor
21 years agoThe problem is not from your module. Those symbols should have been exported by the kernel. To export request_irq/free_irq, go to arch/nios2nommu/kernel/irq.c, add an include file
#include <linux/module.h> then add at the end of the file: EXPORT_SYMBOL(request_irq);
EXPORT_SYMBOL(free_irq); You can do similar change to io.c in the same directory to remove the "warning" about outsw.