#define SPI_REG(reg)    (*(int *_IOMEM) IO_ADDRESS(reg))

Hello everyone I am using DM6446 and i have problem using the MACRO defined 
above i have included the following harware.h file for using this MACRO 

arch/arm/mach-davinci/include/mach/hardware.h

The module gets compiled correctly but when i load the module it gives the 
following error.
insmod my_led.ko

 my_led: disagrees about version of symbol module_layout      
                                                                                
insmod: can't insert 'my_led.ko': invalid module format      

Anyone knows how to solve this issue.


Regard's 
Rohan Tabish



      
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to