Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

help about driver module

Altera_Forum
Honored Contributor II
745 Views

hi all, 

my work is based nios2-linux-20120802 from www.nioswiki.com 

i write a char device driver, if the driver is "compile-in" with the kernel, all things are ok! 

but if the driver is compile as a loadable module, errors occurs: 

 

ERROR: "__ioremap" [drivers/char/test.ko] undefined! 

ERROR: "__iounmap" [drivers/char/test.ko] undefined! 

__ioremap is defined in <asm/io.h> , which is# included in my test.c.  

 

what's the problem?
0 Kudos
0 Replies
Reply