On Sun, Feb 26, 2012 at 12:27 AM, Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> wrote: > +static int __init mt9m032_init(void) > +{ > + int rval; > + > + rval = i2c_add_driver(&mt9m032_i2c_driver); > + if (rval) > + pr_err("%s: failed registering " MT9M032_NAME "\n", __func__); > + > + return rval; > +} > + > +static void mt9m032_exit(void) > +{ > + i2c_del_driver(&mt9m032_i2c_driver); > +} > + > +module_init(mt9m032_init); > +module_exit(mt9m032_exit); module_i2c_driver could be used here instead. > + > +MODULE_AUTHOR("Martin Hostettler"); E-mail address missing. Regards, Fabio Estevam -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html