From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:54622 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752068AbbFVPnF (ORCPT ); Mon, 22 Jun 2015 11:43:05 -0400 Date: Mon, 22 Jun 2015 08:43:05 -0700 From: Greg Kroah-Hartman To: Paul Bolle Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Axel Lin , Zhangfei Gao , Wolfram Sang Subject: Re: [PATCH 4.0 050/105] i2c: hix5hd2: Fix modalias to make module auto-loading work Message-ID: <20150622154305.GF16004@kroah.com> References: <20150619203558.187802739@linuxfoundation.org> <20150619203559.674642625@linuxfoundation.org> <1434982982.2524.10.camel@tiscali.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434982982.2524.10.camel@tiscali.nl> Sender: stable-owner@vger.kernel.org List-ID: On Mon, Jun 22, 2015 at 04:23:02PM +0200, Paul Bolle wrote: > On Fri, 2015-06-19 at 13:35 -0700, Greg Kroah-Hartman wrote: > > Make the modalias match driver name, this is required to make module > > auto-loading work. > > > > Signed-off-by: Axel Lin > > Acked-by: Zhangfei Gao > > Signed-off-by: Wolfram Sang > > Signed-off-by: Greg Kroah-Hartman > > > > --- > > drivers/i2c/busses/i2c-hix5hd2.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > --- a/drivers/i2c/busses/i2c-hix5hd2.c > > +++ b/drivers/i2c/busses/i2c-hix5hd2.c > > @@ -554,4 +554,4 @@ module_platform_driver(hix5hd2_i2c_drive > > MODULE_DESCRIPTION("Hix5hd2 I2C Bus driver"); > > MODULE_AUTHOR("Wei Yan "); > > MODULE_LICENSE("GPL"); > > -MODULE_ALIAS("platform:i2c-hix5hd2"); > > +MODULE_ALIAS("platform:hix5hd2-i2c"); > > How does this work? Like all platform module aliases do, this isn't a new feature... greg k-h -- To unsubscribe from this list: send the line "unsubscribe stable" in