Re: [PATCH (Option 2)] of/i2c: fix module load order issue caused by of_i2c.c

2010-09-29 Thread Jean Delvare
On Fri, 24 Sep 2010 16:15:18 -0600, Grant Likely wrote: Commit 959e85f7, i2c: add OF-style registration and binding caused a module dependency loop where of_i2c.c calls functions in i2c-core, and i2c-core calls of_i2c_register_devices() in of_i2c. This means that when i2c support is built as

[PATCH (Option 2)] of/i2c: fix module load order issue caused by of_i2c.c

2010-09-24 Thread Grant Likely
Commit 959e85f7, i2c: add OF-style registration and binding caused a module dependency loop where of_i2c.c calls functions in i2c-core, and i2c-core calls of_i2c_register_devices() in of_i2c. This means that when i2c support is built as a module when CONFIG_OF is set, then neither i2c_core nor