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 1WJ7kV-0002hA-Fq for barebox@lists.infradead.org; Thu, 27 Feb 2014 20:40:08 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Thu, 27 Feb 2014 21:39:09 +0100 Message-Id: <1393533550-1865-10-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 09/10] ARM: pcm038: convert to devfs_create_partitions To: barebox@lists.infradead.org U2lnbmVkLW9mZi1ieTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRy b25peC5kZT4KLS0tCiBhcmNoL2FybS9ib2FyZHMvcGNtMDM4L3BjbTAzOC5jIHwgNDcgKysrKysr KysrKysrKysrKysrKysrKysrKysrKysrKystLS0tLS0tLS0KIDEgZmlsZSBjaGFuZ2VkLCAzNyBp bnNlcnRpb25zKCspLCAxMCBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9hcmNoL2FybS9ib2Fy ZHMvcGNtMDM4L3BjbTAzOC5jIGIvYXJjaC9hcm0vYm9hcmRzL3BjbTAzOC9wY20wMzguYwppbmRl eCAxNzMzMjYxZjdkMDQuLjdkZjBkZGMzMWIyMyAxMDA2NDQKLS0tIGEvYXJjaC9hcm0vYm9hcmRz L3BjbTAzOC9wY20wMzguYworKysgYi9hcmNoL2FybS9ib2FyZH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