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 1V1Cyo-0003pw-F3 for barebox@lists.infradead.org; Mon, 22 Jul 2013 10:04:38 +0000 From: Sascha Hauer Date: Mon, 22 Jul 2013 12:04:05 +0200 Message-Id: <1374487450-13800-4-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1374487450-13800-1-git-send-email-s.hauer@pengutronix.de> References: <1374487450-13800-1-git-send-email-s.hauer@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 3/8] mtd: sync bbm.h with Linux Kernel To: barebox@lists.infradead.org U2lnbmVkLW9mZi1ieTogU2FzY2hhIEhhdWVyIDxzLmhhdWVyQHBlbmd1dHJvbml4LmRlPgotLS0K IGluY2x1ZGUvbGludXgvbXRkL2JibS5oIHwgODMgKysrKysrKysrKysrKysrKysrKysrKysrKysr KysrKysrKysrLS0tLS0tLS0tLS0tLQogMSBmaWxlIGNoYW5nZWQsIDYxIGluc2VydGlvbnMoKyks IDIyIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2luY2x1ZGUvbGludXgvbXRkL2JibS5oIGIv aW5jbHVkZS9saW51eC9tdGQvYmJtLmgKaW5kZXggNTBiYzRkOS4uODdlYzZhMyAxMDA2NDQKLS0t IGEvaW5jbHVkZS9saW51eC9tdGQvYmJtLmgKKysrIGIvaW5jbHVkZS9saW51eC9tdGQvYmJtLmgK QEAgLTQsMTYgKzQsMzMgQEAKICAqICBOQU5EIGZhbWlseSBCYWQgQmxvY2sgTWFuYWdlbWVudCAo QkJNKSBoZWFkZXIgZmlsZQogICogICAg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