Problem solved. The NULL oops is due to the mtd->dev.class->p is NULL,
which makes the spin_lock in "get_device_parent" function uses a false
spin_lock_t struct.
the line is "spin_lock(&dev->class->p->class_dirs.list_lock);"
That is mainly because in function add_mtd_device function uses the
static
2010/2/27 Peter Pan :
> 2010/2/27 Scott Wood :
>> On Fri, Feb 26, 2010 at 10:08:09AM +0800, Peter Pan wrote:
>> There isn't one. I was not under the impression that such a configuration
>> was even possible (how do you control ALE/CLE, for example?). There is a
>> NAND driver that uses UPM, thoug