From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-030.synserver.de ([212.40.185.30]:1047 "EHLO smtp-out-030.synserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752157AbbHTPuI (ORCPT ); Thu, 20 Aug 2015 11:50:08 -0400 Message-ID: <55D5F714.4020903@metafoo.de> Date: Thu, 20 Aug 2015 17:49:40 +0200 From: Lars-Peter Clausen MIME-Version: 1.0 To: Javier Martinez Canillas , linux-kernel@vger.kernel.org CC: Michael Hennerich , linux-iio@vger.kernel.org, Peter Meerwald , Jonathan Cameron , Hartmut Knaack Subject: Re: [PATCH 01/18] iio: Export SPI module alias information in missing drivers References: <1440054451-1223-1-git-send-email-javier@osg.samsung.com> <1440054451-1223-2-git-send-email-javier@osg.samsung.com> In-Reply-To: <1440054451-1223-2-git-send-email-javier@osg.samsung.com> Content-Type: text/plain; charset=windows-1252 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On 08/20/2015 09:07 AM, Javier Martinez Canillas wrote: > The SPI core always reports the MODALIAS uevent as "spi:" > regardless of the mechanism that was used to register the device > (i.e: OF or board code) and the table that is used later to match > the driver with the device (i.e: SPI id table or OF match table). > > So drivers needs to export the SPI id table and this be built into > the module or udev won't have the necessary information to autoload > the needed driver module when the device is added. > > Signed-off-by: Javier Martinez Canillas Acked-by: Lars-Peter Clausen Thanks.