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 1WIQqx-0001sp-PT for barebox@lists.infradead.org; Tue, 25 Feb 2014 22:51:58 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Tue, 25 Feb 2014 23:51:15 +0100 Message-Id: <1393368681-1190-5-git-send-email-u.kleine-koenig@pengutronix.de> In-Reply-To: <1393368681-1190-1-git-send-email-u.kleine-koenig@pengutronix.de> References: <1393368681-1190-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 04/10] mtd/nand: constify filename parameter To: barebox@lists.infradead.org VGhlIHN0cmluZyBwb2ludGVkIHRvIGlzbid0IG1vZGlmaWVkLCBzbyBkZWNsYXJlIGl0IGFzIGNv bnN0LgoKU2lnbmVkLW9mZi1ieTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0Bw ZW5ndXRyb25peC5kZT4KLS0tCiBkcml2ZXJzL210ZC9uYW5kL25hbmQtYmIuYyB8IDIgKy0KIGlu Y2x1ZGUvbmFuZC5oICAgICAgICAgICAgIHwgNCArKy0tCiAyIGZpbGVzIGNoYW5nZWQsIDMgaW5z ZXJ0aW9ucygrKSwgMyBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9kcml2ZXJzL210ZC9uYW5k L25hbmQtYmIuYyBiL2RyaXZlcnMvbXRkL25hbmQvbmFuZC1iYi5jCmluZGV4IDAyOTJmMmY0MjZj MC4uZjM4N2VmNjg3YTliIDEwMDY0NAotLS0gYS9kcml2ZXJzL210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