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 merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WJ7kG-0002dA-Hl for barebox@lists.infradead.org; Thu, 27 Feb 2014 20:39:54 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Thu, 27 Feb 2014 21:39:07 +0100 Message-Id: <1393533550-1865-8-git-send-email-u.kleine-koenig@pengutronix.de> In-Reply-To: <1393533550-1865-1-git-send-email-u.kleine-koenig@pengutronix.de> References: <1393533550-1865-1-git-send-email-u.kleine-koenig@pengutronix.de> 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 v2 07/10] ARM: freescale-mx35-3-stack: convert to devfs_create_partitions To: barebox@lists.infradead.org U2lnbmVkLW9mZi1ieTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRy b25peC5kZT4KLS0tCiBhcmNoL2FybS9ib2FyZHMvZnJlZXNjYWxlLW14MzUtMy1zdGFjay8zc3Rh Y2suYyB8IDQyICsrKysrKysrKysrKysrKysrKysrKy0tLS0KIDEgZmlsZSBjaGFuZ2VkLCAzNiBp bnNlcnRpb25zKCspLCA2IGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2FyY2gvYXJtL2JvYXJk cy9mcmVlc2NhbGUtbXgzNS0zLXN0YWNrLzNzdGFjay5jIGIvYXJjaC9hcm0vYm9hcmRzL2ZyZWVz Y2FsZS1teDM1LTMtc3RhY2svM3N0YWNrLmMKaW5kZXggZGJkMWM3YWRjYjEwLi4yYmUxNTU0YjY4 OGUgMTAwNjQ0Ci0tLSBhL2FyY2gv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