From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp1-g21.free.fr ([212.27.42.1]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XWBry-00041Q-Q1 for barebox@lists.infradead.org; Mon, 22 Sep 2014 22:14:07 +0000 Received: from localhost.localdomain (unknown [82.233.81.124]) by smtp1-g21.free.fr (Postfix) with ESMTP id 13E87940002 for ; Tue, 23 Sep 2014 00:13:22 +0200 (CEST) From: =?UTF-8?q?Eric=20B=C3=A9nard?= Date: Tue, 23 Sep 2014 00:13:34 +0200 Message-Id: <1411424015-16466-1-git-send-email-eric@eukrea.com> MIME-Version: 1.0 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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/2] serial-imx: fix for non of usage To: barebox@lists.infradead.org dGhpcyB3YXMgYnJva2VuIGJ5IDoKIjM4NDNiZmQgc2VyaWFsOiBpbXg6IERldGVybWluZSBkZXZp Y2UgbmFtZSBmcm9tIGRldmljZSB0cmVlIgoKVGVzdGVkIG9uIGFuIGkuTVgzNS4KClNpZ25lZC1v ZmYtYnk6IEVyaWMgQsOpbmFyZCA8ZXJpY0BldWtyZWEuY29tPgotLS0KIGRyaXZlcnMvc2VyaWFs L3NlcmlhbF9pbXguYyB8IDEwICsrKysrLS0tLS0KIDEgZmlsZSBjaGFuZ2VkLCA1IGluc2VydGlv bnMoKyksIDUgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvZHJpdmVycy9zZXJpYWwvc2VyaWFs X2lteC5jIGIvZHJpdmVycy9zZXJpYWwvc2VyaWFsX2lteC5jCmluZGV4IDQ3NGJmYWYuLmU5N2Zk MmYgMTAwNjQ0Ci0tLSBhL2RyaXZlcnMvc2VyaWFsL3NlcmlhbF9pbXguYworKysgYi9kcml2ZX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