Peter,

On 10/01/2015 11:03 PM, Peter Korsgaard wrote:
>>>>>> "York" == York Sun <york...@freescale.com> writes:
> 
>  > Peter,
> 
>  > I have a platform (FPGA) with multiple ocores i2c adapter. When I
>  > register them using MFD framework, I got a message regarding
>  > duplicating name for sysfs. I wonder if this driver (i2c-ocores.c)
>  > only supports one adapter. I can try to fix it by adding a name string
>  > into ocores_i2c_platform_data and allocate struct i2c_adapter on
>  > demand. Am I on the right direction?
> 
> I guess your problem is that the driver core is complaining about
> duplicate names for your platform devices (generated from the
> mfd_cell). Make sure you set the .id member to something unique.
> 

What I got was

sysfs: cannot create duplicate filename '/bus/platform/devices/ocores-i2c'

I think it is caused by the i2c-ocores driver. Will dig deeper.

York
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to