Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754042Ab2BVQiF (ORCPT ); Wed, 22 Feb 2012 11:38:05 -0500 Received: from 10.mo5.mail-out.ovh.net ([46.105.52.148]:38846 "EHLO mo5.mail-out.ovh.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752975Ab2BVQiB (ORCPT ); Wed, 22 Feb 2012 11:38:01 -0500 Date: Wed, 22 Feb 2012 17:24:42 +0100 From: Jean-Christophe PLAGNIOL-VILLARD To: Arnd Bergmann Cc: Nicolas Ferre , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, rmallon@gmail.com, linux@arm.linux.org.uk X-Ovh-Mailout: 178.32.228.5 (mo5.mail-out.ovh.net) Subject: Re: [PATCH v2 12/19] ARM: at91/rtc-at91sam9: each SoC can select the RTT device to use Message-ID: <20120222162442.GD9407@game.jcrosoft.org> References: <1329903585-30738-1-git-send-email-nicolas.ferre@atmel.com> <201202221450.04390.arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201202221450.04390.arnd@arndb.de> X-PGP-Key: http://uboot.jcrosoft.org/plagnioj.asc X-PGP-key-fingerprint: 6309 2BBA 16C8 3A07 1772 CC24 DEFC FFA3 279C CE7C User-Agent: Mutt/1.5.20 (2009-06-14) X-Ovh-Tracer-Id: 1775825629957040900 X-Ovh-Remote: 213.251.161.87 (ns32433.ovh.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: -100 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeegvddrtddtucetggdotefuucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecuhfhrohhmpeflvggrnhdqvehhrhhishhtohhphhgvucfrnfetiffpkffqnfdqggfknffnteftffcuoehplhgrghhnihhojhesjhgtrhhoshhofhhtrdgtohhmqeenucfjughrpeffhffvuffkfhggtggujggfsehttdfttddtredv X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeegvddrtddtucetggdotefuucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecuhfhrohhmpeflvggrnhdqvehhrhhishhtohhphhgvucfrnfetiffpkffqnfdqggfknffnteftffcuoehplhgrghhnihhojhesjhgtrhhoshhofhhtrdgtohhmqeenucfjughrpeffhffvuffkfhggtggujggfsehttdfttddtredv Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1183 Lines: 27 On 14:50 Wed 22 Feb , Arnd Bergmann wrote: > On Wednesday 22 February 2012, Nicolas Ferre wrote: > > From: Jean-Christophe PLAGNIOL-VILLARD > > > > For the RTT as RTC driver rtc-at91sam9, the platform_device structure > > is filled during SoC initialization. This will allow to convert this > > RTC driver as a standard platform driver. > > Can you make this more elaborate? I don't see from this or the code why > you don't just always register the RTT as "rtc-at91sam9". There seems to > be no driver for the "at91_rtt" in tree, so I don't know if there is > an out of tree driver binding to it. > > Would it be possible to remove the compile time #if and the resetting > of the device name if both drivers bind to the rtc name and the other > rtt driver binds to both names? because I see a quite some people use the rtt for something else so I don't want to change on existing kernel Best Regards, J. -- 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/