Messages in this thread | | | From | Dmitry Torokhov <> | Subject | Re: [PATCH] olpc_battery: convert to platform device | Date | Mon, 14 Feb 2011 18:45:25 -0800 |
| |
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
| |