[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <B3A1DFAA-AC7A-44ED-AC43-BC244B04E34C@gmail.com>
Date: Mon, 14 Feb 2011 18:45:25 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Daniel Drake <dsd@...top.org>
Cc: "cbou@...l.ru" <cbou@...l.ru>,
"dwmw2@...radead.org" <dwmw2@...radead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"x86@...nel.org" <x86@...nel.org>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"hpa@...or.com" <hpa@...or.com>,
"dilinger@...ued.net" <dilinger@...ued.net>
Subject: Re: [PATCH] olpc_battery: convert to platform device
Hi Daniel,
On Fri, Feb 11, 2011 at 08:46:53PM +0000, Daniel Drake wrote:
> +}
> +
> +static struct platform_driver olpc_battery_drv = {
> + .driver = {
> + .name = "olpc-battery",
Since driver name does not match exactly with the module name don't you
need MODULE_ALIAS("platform:olpc-battery") to automatically load the
driver?
Thanks.
--
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