From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 7.mo4.mail-out.ovh.net ([178.33.253.54] helo=mo4.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TK7wt-0005kr-13 for barebox@lists.infradead.org; Fri, 05 Oct 2012 13:28:22 +0000 Received: from mail413.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo4.mail-out.ovh.net (Postfix) with SMTP id 7163610506EC for ; Fri, 5 Oct 2012 15:34:20 +0200 (CEST) From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 5 Oct 2012 15:25:34 +0200 Message-Id: <1349443536-16923-2-git-send-email-plagnioj@jcrosoft.com> In-Reply-To: <1349443536-16923-1-git-send-email-plagnioj@jcrosoft.com> References: <20121005132017.GS26553@game.jcrosoft.org> <1349443536-16923-1-git-send-email-plagnioj@jcrosoft.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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: =?UTF-8?q?=5BPATCH=202/4=5D=20gpio=3A=20provide=20generic=20gpio=20header?= To: barebox@lists.infradead.org U2lnbmVkLW9mZi1ieTogSmVhbi1DaHJpc3RvcGhlIFBMQUdOSU9MLVZJTExBUkQgPHBsYWduaW9q QGpjcm9zb2Z0LmNvbT4KLS0tCiBhcmNoL2FybS9tYWNoLWVwOTN4eC9pbmNsdWRlL21hY2gvZ3Bp by5oICAgICAgICAgICB8ICAgMjcgKy0tLS0tLS0tLS0tCiBhcmNoL2FybS9tYWNoLWlteC9pbmNs dWRlL21hY2gvZ3Bpby5oICAgICAgICAgICAgICB8ICAgIDcgKy0tLQogYXJjaC9hcm0vbWFjaC1t eHMvaW5jbHVkZS9tYWNoL2dwaW8uaCAgICAgICAgICAgICAgfCAgICA2ICstLQogYXJ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