Hi Guys,
Please help me, when i insert my client driver the probe fun. is not
getting called. please help me.
Attached files for reference
Board: Micro-2440
Board file snippet (arch/arm/mach-s3c2440/mach-mini2440.c)
static struct platform_device *mini2440_devices[] __initdata = {
&s3c_device_i2c0,
}
static struct at24_platform_data at24c08 = {
.byte_len = SZ_8K / 8,
.page_size = 16,
};
static struct i2c_board_info mini2440_i2c_devs[] __initdata = {
{
I2C_BOARD_INFO("24c08", 0x50),
.platform_data = &at24c08,
},
};
....
static void __init mini2440_init(void){
...
i2c_register_board_info(0, mini2440_i2c_devs,
ARRAY_SIZE(mini2440_i2c_devs));
...
Thanks,
Dhruv Chawda
Unable to call I2c probe fun
AFAIK since Linux-2.6.29 this kind of device is supported by the driver in "drivers/misc/eeprom/at24.c".
I took the reference from below link which is referring to 2.6.32 http://blog.163.com/awaken_ing/blog/static/12061319720118784324507


