Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261623AbVEJMSP (ORCPT ); Tue, 10 May 2005 08:18:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261624AbVEJMSP (ORCPT ); Tue, 10 May 2005 08:18:15 -0400 Received: from smtp.seznam.cz ([212.80.76.43]:20668 "HELO smtp.seznam.cz") by vger.kernel.org with SMTP id S261623AbVEJMSL (ORCPT ); Tue, 10 May 2005 08:18:11 -0400 Date: Tue, 10 May 2005 14:18:14 +0200 To: Greg KH , Jean Delvare Cc: James Chapman , LKML , LM Sensors Subject: [PATCH] ds1337: export ds1337_do_command Message-ID: <20050510121814.GB2492@orphique> References: <20050504061438.GD1439@orphique> <1DTwF8-18P-00@press.kroah.org> <20050508204021.627f9cd1.khali@linux-fr.org> <427E6E21.60001@katalix.com> <20050508222351.08bfe2e1.khali@linux-fr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050508222351.08bfe2e1.khali@linux-fr.org> User-Agent: Mutt/1.5.9i From: Ladislav Michl Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 995 Lines: 28 On Sun, May 08, 2005 at 10:23:51PM +0200, Jean Delvare wrote: > Hi James, > > > I suggest that Ladislav's patch should still be applied and a > > separate patch be submitted to export the interface to modules. > > Either way is fine with me as long as it actually happens. Export ds1337_do_command so it could be used also if driver is built as module. Signed-off-by: Ladislav Michl --- linux-omap/drivers/i2c/chips/ds1337.c.orig 2005-05-10 14:10:49.637992600 +0200 +++ linux-omap/drivers/i2c/chips/ds1337.c 2005-05-10 14:13:05.064404656 +0200 @@ -380,5 +380,7 @@ MODULE_DESCRIPTION("DS1337 RTC driver"); MODULE_LICENSE("GPL"); +EXPORT_SYMBOL(ds1337_do_command); + module_init(ds1337_init); module_exit(ds1337_exit); - 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/