]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/media/video/em28xx/em28xx-cards.c
i2c: Add support for custom probe function
[net-next-2.6.git] / drivers / media / video / em28xx / em28xx-cards.c
index ffbe544e30f4cc868b213ab2e614eca48b933280..e7efb4bffabdeaeea65d270ec1d63bef84695e9f 100644 (file)
@@ -2385,7 +2385,7 @@ void em28xx_register_i2c_ir(struct em28xx *dev)
 
        if (dev->init_data.name)
                info.platform_data = &dev->init_data;
-       i2c_new_probed_device(&dev->i2c_adap, &info, addr_list);
+       i2c_new_probed_device(&dev->i2c_adap, &info, addr_list, NULL);
 }
 
 void em28xx_card_setup(struct em28xx *dev)