Based on the daughter cards attached on to the main board, My set-up will have variable number of i2c adapters. I want to write driver for the client on one of the (variable) i2c adapter. I know the exact number for this adapter can be obtained using "i2cdetect -l" from command line. However, I want to know, Is there any method to detect the number of this (variable) i2c adapter inside a kernel module? _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies