From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754240AbbERW03 (ORCPT ); Mon, 18 May 2015 18:26:29 -0400 Received: from down.free-electrons.com ([37.187.137.238]:41776 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752545AbbERW02 (ORCPT ); Mon, 18 May 2015 18:26:28 -0400 Date: Tue, 19 May 2015 00:26:26 +0200 From: Alexandre Belloni To: Axel Lin Cc: linux-kernel@vger.kernel.org, Alessandro Zummo , Dale Farnsworth , Minkyu Kang , Joonyoung Shim , rtc-linux@googlegroups.com Subject: Re: RTC: Add MODULE_DEVICE_TABLE to rtc-ds1672/rtc-max6900/rtc-max8998 Message-ID: <20150518222625.GY3338@piout.net> References: <1303129017.8158.1.camel@phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1303129017.8158.1.camel@phoenix> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/04/2011 at 20:16:57 +0800, Axel Lin wrote : > The device table is required to load modules based on modaliases. > After adding MODULE_DEVICE_TABLE, below entries will be added to modules.alias: > > alias i2c:ds1672 rtc_ds1672 > alias i2c:max6900 rtc_max6900 > alias platform:lp3974-rtc rtc_max8998 > alias platform:max8998-rtc rtc_max8998 > > Signed-off-by: Axel Lin > Cc: Alessandro Zummo > Cc: Dale Farnsworth > Cc: Minkyu Kang > Cc: Joonyoung Shim > --- > drivers/rtc/rtc-ds1672.c | 1 + > drivers/rtc/rtc-max6900.c | 1 + > drivers/rtc/rtc-max8998.c | 1 + > 3 files changed, 3 insertions(+), 0 deletions(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com