From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752978AbbHTPuL (ORCPT ); Thu, 20 Aug 2015 11:50:11 -0400 Received: from smtp-out-030.synserver.de ([212.40.185.30]:1052 "EHLO smtp-out-030.synserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752372AbbHTPuI (ORCPT ); Thu, 20 Aug 2015 11:50:08 -0400 X-SynServer-TrustedSrc: 1 X-SynServer-AuthUser: lars@metafoo.de X-SynServer-PPID: 11472 Message-ID: <55D5F714.4020903@metafoo.de> Date: Thu, 20 Aug 2015 17:49:40 +0200 From: Lars-Peter Clausen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 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 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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.