Re: [RFC][WAS:bcmai][PATCH V2] axi: add AXI bus driver

From: RafaÅ MiÅecki
Date: Fri Apr 08 2011 - 19:46:37 EST

2011/4/9 Greg KH <greg@xxxxxxxxx>:
>> +static void axi_release_core_dev(struct device *dev)
>> +{
>> + Â Â kfree(dev);
>> +}
> This is wrong, unless you are really only creating a 'struct device'.
> Why are you doing that instead of embedding struct device in your
> structure?

Hm, I think Greg found explanation why we can not reload axi driver
successfully :)

I'll take care of your comment after weekend, thank you everybody.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at