Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751977AbbGMMTP (ORCPT ); Mon, 13 Jul 2015 08:19:15 -0400 Received: from lb3-smtp-cloud3.xs4all.net ([194.109.24.30]:51452 "EHLO lb3-smtp-cloud3.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751931AbbGMMTM (ORCPT ); Mon, 13 Jul 2015 08:19:12 -0400 Message-ID: <1436789948.2679.23.camel@tiscali.nl> Subject: Re: [PATCH 1/2] Add NXP LPC32XX SPI driver From: Paul Bolle To: Martin Devera Cc: linux-kernel@vger.kernel.org Date: Mon, 13 Jul 2015 14:19:08 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.3 (3.16.3-2.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1121 Lines: 38 (This hit my box with lkml mesages without lkml in the To: header. What happened here?) On zo, 2015-07-12 at 11:20 +0200, Martin Devera wrote: > --- /dev/null > +++ b/drivers/spi/spi-lpc32xx.c > +#include > +#include > +#include > +#include > +#include > +#include (I wonder which of these, indirectly, pulls in .) > +#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. I couldn't find that platform_device. Did I miss something? Or is there another way this alias is useful? Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/