Re: [PATCH] olpc_battery: convert to platform device

From: Dmitry Torokhov
Date: Mon Feb 14 2011 - 21:45:54 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/