This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

I2c HID driver

Hi,

I tried passing i2c info with platform data  from board file as given below

                struct i2c_hid_platform_data hid_i2c_pdata = {
                .hid_descriptor_address = 0x0000,
                };              

static struct i2c_board_info __initdata am335x_i2c0_boardinfo[] = {

              { 

                 I2C_BOARD_INFO("i2c_hid", address),
                       .platform_data = &hid_i2c_pdata,
                       .irq = INT,

               },

         };

But i2c_hid_probe() function of "i2c_hid" driver is not executing.

It would be very helpful if  anyboby tell me how to register i2c-hid driver from board file.

Thanks