From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QpDxb-0000hT-71 for barebox@lists.infradead.org; Fri, 05 Aug 2011 06:32:45 +0000 Date: Fri, 5 Aug 2011 08:32:37 +0200 From: Sascha Hauer Message-ID: <20110805063237.GA31404@pengutronix.de> References: <1312389389-9255-1-git-send-email-plagnioj@jcrosoft.com> <1312486653-19494-1-git-send-email-plagnioj@jcrosoft.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] ns16550: switch platform_data to drivers private data To: Antony Pavlov Cc: barebox@lists.infradead.org T24gRnJpLCBBdWcgMDUsIDIwMTEgYXQgMTI6NTg6MzJBTSArMDQwMCwgQW50b255IFBhdmxvdiB3 cm90ZToKPiBPbiA0IEF1Z3VzdCAyMDExIDIzOjM3LCBKZWFuLUNocmlzdG9waGUgUExBR05JT0wt VklMTEFSRAo+IDxwbGFnbmlvakBqY3Jvc29mdC5jb20+IHdyb3RlOgo+IAo+ID4gLS0tIGEvZHJp dmVycy9zZXJpYWwvc2VyaWFsX25zMTY1NTAuYwo+ID4gKysrIGIvZHJpdmVycy9zZXJpYWwvc2Vy aWFsX25zMTY1NTAuYwo+ID4gQEAgLTQ4LDYgKzQ4LDU1IEBACj4gPgo+ID4gwqAvKioqKioqKioq KiogUHJpdmF0ZSBGdW5jdGlvbnMgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi8K PiA+Cj4gPiArLyoKPiA+ICsgKiBXZSB3cmFwIG91ciBwb3J0IHN0cnVjdHVyZSBhcm91bmQgdGhl IG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