On Tuesday 02 December 2008, [EMAIL PROTECTED] wrote:
> +static int __init tvp514x_init(void)
> +{
> +       int err;
> +
> +       err = i2c_add_driver(&tvp514x_i2c_driver);
> +       if (err) {
> +               printk(KERN_ERR "Failed to register " MODULE_NAME ".\n");
> +               return err;
> +       }
> +       return 0;
> +}

Just do the normal

        return i2c_add_driver(...);



--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to