Messages in this thread | | | Date | Mon, 13 Jul 2015 14:26:14 +0200 | From | Martin Devera <> | Subject | Re: [PATCH 1/2] Add NXP LPC32XX SPI driver |
| |
Paul Bolle wrote: > (This hit my box with lkml mesages without lkml in the To: header. What > happened here?)
Ahh, have to check my sending script ..
> On zo, 2015-07-12 at 11:20 +0200, Martin Devera wrote: >> --- /dev/null >> +++ b/drivers/spi/spi-lpc32xx.c > >> +#define DRIVER_NAME "spi-lpc32xx" > >> +MODULE_ALIAS("platform:" DRIVER_NAME); > > This alias seems only useful if there's a corresponding struct > platform_device. Ie, a struct platform_device with a .name of "spi > -lpc32xx", which will fire off a "MODALIAS=platform:spi-lpc32xx" uevent > when it's created.
My fault, thanks for spotting. It is leftover from driver I used as template... In any case, I has other comments from Joachim Eastwood thus I plan to do more cleanup and resubmit the driver later..
thanks, Martin
| |