Am 11.09.2010 um 16:21 schrieb Daniel Gloeckner:

> Hi,
> 
> On Sat, Sep 11, 2010 at 03:53:47PM +0200, Dr. H. Nikolaus Schaller wrote:
>> Or do you mean changeing the module_init(i2c_adap_jz_init); to
>> subsys_initcall(i2c_adap_jz_init); ?
> 
> yes, that's what I ment.

I now tried to replace

MODULE_LICENSE("GPL");

module_init(i2c_adap_jz_init);
module_exit(i2c_adap_jz_exit);

with

MODULE_LICENSE("GPL");

subsys_init(i2c_adap_jz_init);
subsys_exit(i2c_adap_jz_exit);


in i2c_jz47xx.c but it makes the whole i2c system fail.

Without kernel error messages (except that i2cdetect has no
device and the RTC driver does not find a device).

BR,
Nikolaus

_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

Reply via email to