From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752947AbbIBJV0 (ORCPT ); Wed, 2 Sep 2015 05:21:26 -0400 Received: from mail.kernel.org ([198.145.29.136]:46422 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750805AbbIBJVZ (ORCPT ); Wed, 2 Sep 2015 05:21:25 -0400 Date: Wed, 2 Sep 2015 10:21:14 +0100 From: Lee Jones To: Luis de Bethencourt Cc: linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Stephen Warren , Wolfram Sang , alsa-devel@alsa-project.org, linux-rpi-kernel@lists.infradead.org Subject: Re: [PATCH] ASoC: bcm2835-i2s: Fix module autoload for OF platform drivers Message-ID: <20150902092114.GV4796@x1> References: <20150827150401.GA32653@goodgumbo.baconseed.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150827150401.GA32653@goodgumbo.baconseed.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Aug 2015, Luis de Bethencourt wrote: > These platform drivers have a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt > --- > sound/soc/bcm/bcm2835-i2s.c | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Lee Jones > diff --git a/sound/soc/bcm/bcm2835-i2s.c b/sound/soc/bcm/bcm2835-i2s.c > index 03fa1cb..8c435be 100644 > --- a/sound/soc/bcm/bcm2835-i2s.c > +++ b/sound/soc/bcm/bcm2835-i2s.c > @@ -862,6 +862,8 @@ static const struct of_device_id bcm2835_i2s_of_match[] = { > {}, > }; > > +MODULE_DEVICE_TABLE(of, bcm2835_i2s_of_match); > + > static struct platform_driver bcm2835_i2s_driver = { > .probe = bcm2835_i2s_probe, > .driver = {