Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753593AbbHVSIZ (ORCPT ); Sat, 22 Aug 2015 14:08:25 -0400 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:38235 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753037AbbHVSIY (ORCPT ); Sat, 22 Aug 2015 14:08:24 -0400 Subject: Re: [PATCH 01/18] iio: Export SPI module alias information in missing drivers To: Lars-Peter Clausen , Javier Martinez Canillas , linux-kernel@vger.kernel.org References: <1440054451-1223-1-git-send-email-javier@osg.samsung.com> <1440054451-1223-2-git-send-email-javier@osg.samsung.com> <55D5F714.4020903@metafoo.de> Cc: Michael Hennerich , linux-iio@vger.kernel.org, Peter Meerwald , Hartmut Knaack From: Jonathan Cameron Message-ID: <55D8BA96.1090509@kernel.org> Date: Sat, 22 Aug 2015 19:08:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55D5F714.4020903@metafoo.de> 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 Content-Length: 1261 Lines: 33 On 20/08/15 16:49, Lars-Peter Clausen wrote: > 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 Applied to the togreg branch of iio.git - initially pushed out as testing. Thanks, Jonathan > > Thanks. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- 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/