Messages in this thread | | | Date | Wed, 9 Feb 2005 01:01:20 +0100 | From | Bartlomiej Zolnierkiewicz <> | Subject | Re: [PATCH][I2C] Marvell mv64xxx i2c driver |
| |
Hi,
just a minor thing
> +static int __devinit > +mv64xxx_i2c_init(void) > +{ > + return driver_register(&mv64xxx_i2c_driver); > +}
__init
> +static void __devexit > +mv64xxx_i2c_exit(void) > +{ > + driver_unregister(&mv64xxx_i2c_driver); > + return; > +}
__exit
these functions relate to module not device
> +module_init(mv64xxx_i2c_init); > +module_exit(mv64xxx_i2c_exit); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |