[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090926145536.GA8445@doriath.ww600.siemens.net>
Date: Sat, 26 Sep 2009 18:55:36 +0400
From: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>
To: Pavel Machek <pavel@....cz>
Cc: rpurdie@...ys.net, lenz@...wisc.edu,
kernel list <linux-kernel@...r.kernel.org>,
Dirk@...er-Online.de, arminlitzel@....de,
Cyril Hrubis <metan@....cz>, thommycheck@...il.com,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
omegamoon@...il.com, eric.y.miao@...il.com, utx@...guin.cz,
cbou@...l.ru
Subject: Re: something wrong in drivers/power
On Sat, Sep 26, 2009 at 11:55:55AM +0200, Pavel Machek wrote:
>
> Tosa battery driver seems to be confused about its own identity.
NAK. Please see the drivers/input/touchscree/wm97xx-core.c
> Signed-off-by: Pavel Machek <pavel@....cz>
>
> diff -ur power.ofic/tosa_battery.c power/tosa_battery.c
> --- linux/drivers/power.ofic/tosa_battery.c 2009-09-06 08:56:36.000000000 +0200
> +++ linux/drivers/power/tosa_battery.c 2009-09-15 15:14:08.000000000 +0200
> @@ -459,7 +459,7 @@
> }
>
> static struct platform_driver tosa_bat_driver = {
> - .driver.name = "wm97xx-battery",
> + .driver.name = "tosa-battery",
> .driver.owner = THIS_MODULE,
> .probe = tosa_bat_probe,
> .remove = __devexit_p(tosa_bat_remove),
> @@ -483,4 +483,4 @@
> MODULE_LICENSE("GPL");
> MODULE_AUTHOR("Dmitry Baryshkov");
> MODULE_DESCRIPTION("Tosa battery driver");
> -MODULE_ALIAS("platform:wm97xx-battery");
> +MODULE_ALIAS("platform:tosa-battery");
>
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
With best wishes
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists