From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from f347.mail.ru ([217.69.140.243]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UUCoS-0001yG-71 for barebox@lists.infradead.org; Mon, 22 Apr 2013 09:13:29 +0000 From: =?UTF-8?B?QWxleGFuZGVyIFNoaXlhbg==?= Mime-Version: 1.0 Date: Mon, 22 Apr 2013 13:13:20 +0400 Message-ID: <1366622000.671448158@f347.mail.ru> In-Reply-To: <20130420165900.GE32215@game.jcrosoft.org> References: <1366439718-31495-1-git-send-email-shc_work@mail.ru> <20130420165900.GE32215@game.jcrosoft.org> Reply-To: =?UTF-8?B?QWxleGFuZGVyIFNoaXlhbg==?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: =?UTF-8?B?UmVbMl06IFtQQVRDSF0gY2xvY2tzb3VyY2U6IEFkZCBwb2ludGVyIHRvIGNs?= =?UTF-8?B?b2Nrc291cmNlIHN0cnVjdHVyZSBpbiByZWFkIGZ1bmN0aW9u?= To: =?UTF-8?B?SmVhbi1DaHJpc3RvcGhlIFBMQUdOSU9MLVZJTExBUkQ=?= Cc: barebox@lists.infradead.org > On 10:35 Sat 20 Apr , Alexander Shiyan wrote: > > > > This patch adds pointer to clocksource structure in read function. > > For avoid name collisions, clocksource names for all drivers was > > changed to be unique. > why? > > no need the clocksource is hot path don't touch it > and we do not need the struct pointer as we can have only 1 cs in barebox This change allows to add an additional field in struct clocksource then we can remove static variables from clocksource drivers. --- _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox