On Sun, Sep 12, 2010 at 11:35:29AM +0200, Mike Rapoport wrote:
> Signed-off-by: Mike Rapoport <[email protected]>
> ---
> drivers/i2c/busses/i2c-mv64xxx.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
We really should have an i2c_initcall, but it may be difficult to move
everyone over to it. What would be lovely is some form of dependency
based initialisation, but that's probably a way off...
I'll consider this for the next merge window.
> diff --git a/drivers/i2c/busses/i2c-mv64xxx.c
> b/drivers/i2c/busses/i2c-mv64xxx.c
> index 1624206..6f3d084 100644
> --- a/drivers/i2c/busses/i2c-mv64xxx.c
> +++ b/drivers/i2c/busses/i2c-mv64xxx.c
> @@ -592,7 +592,7 @@ mv64xxx_i2c_exit(void)
> platform_driver_unregister(&mv64xxx_i2c_driver);
> }
>
> -module_init(mv64xxx_i2c_init);
> +subsys_initcall(mv64xxx_i2c_init);
> module_exit(mv64xxx_i2c_exit);
>
> MODULE_AUTHOR("Mark A. Greer <[email protected]>");
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html