RobertCNelson / linux-dev

MIT License
150 stars 96 forks source link

beagleboard: nand/omap2 module is not created if onenand/omap2 is #40

Open npf opened 9 years ago

npf commented 9 years ago

Hello, Using kernels from the rcn-ee Debian Jessie repository: 4.1.5-armv7-x2 or 4.2.0-rc6-armv7-x0, my beagleboard does not see its nand (mtd). Those kernels have the onenand/omap2.ko driver but not the nand/omap2.ko.

Compiling a kernel without onenand (CONFIG_MTD_ONENAND not set) builds nand/omap2.ko, and the nand shows up on the system when loading the module.

Looks like having the same name for both modules causes the issue?

RobertCNelson commented 9 years ago

Yeah, that's a nasty bug. I have an am37xx based device with onenand..

I wonder if this is fixed with Roger's patchset here, if not can you ping him on this issue, so we can get it fixed upstream?

https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg950586.html

Regards,