Skip to contentSkip to conversation

at91_nand could not be built as module?

DISCUSSION Bily 1 participant 1 message Oct 17, 2008 Memory technology devices (MTD)

lore
Share & tools
lore

Bily

author
#0 lore raw

hi,all

    it seems as if at91_nand could not be built as module in kernel-2.6.26;I am using the kernel-2.6.26 on at91rm9200, and i try to build at91_nand as module ,however i fail;and find out that the function "nand_partitions"in board-dk.c is defined as "__init",it limits the using of this function after the init of linux;

but when i remove the init, it does not work well because the "udev" in user space could not create the device node in /dev,so i just want to know if there is a right way to make at91_nand as module ? thanks for help!~

Bily
2008-10-17