From: =?UTF-8?q?Horia=20Geant=C4=83?= Subject: [RFC 1/7] soc/qman: export volatile dequeue related structs Date: Fri, 3 Mar 2017 16:52:07 +0200 Message-ID: <1488552733-20806-2-git-send-email-horia.geanta@nxp.com> References: <1488552733-20806-1-git-send-email-horia.geanta@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Cc: linux-arm-kernel@lists.infradead.org, Claudiu Manoil , Cristian Stoica , Dan Douglass , linux-crypto@vger.kernel.org, Vakul Garg , Alexandru Porosanu To: Herbert Xu , Scott Wood , Roy Pledge Return-path: In-Reply-To: <1488552733-20806-1-git-send-email-horia.geanta@nxp.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org List-Id: linux-crypto.vger.kernel.org U2luY2UgcW1hbl92b2xhdGlsZV9kZXF1ZXVlKCkgaXMgYWxyZWFkeSBleHBvcnRlZCwgbW92ZSB0 aGUgcmVsYXRlZApzdHJ1Y3R1cmVzIGludG8gdGhlIHB1YmxpYyBoZWFkZXIgdG9vLgoKU2lnbmVk LW9mZi1ieTogSG9yaWEgR2VhbnTEgyA8aG9yaWEuZ2VhbnRhQG54cC5jb20+Ci0tLQogZHJpdmVy cy9zb2MvZnNsL3FibWFuL3FtYW5fcHJpdi5oIHwgMzYgLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tCiBpbmNsdWRlL3NvYy9mc2wvcW1hbi5oICAgICAgICAgICAgfCAzNiArKysr KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysKIDIgZmlsZXMgY2hhbmdlZCwgMzYgaW5z ZXJ0aW9ucygrKSwgMzYgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvZHJpdmVycy9zb2MvZnNs L3FibWFuL3FtYW5fcHJpdi5oIGIvZHJpdmVycy9zb2MvZnNsL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