From patchwork Mon Aug 21 22:28:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 9913909 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DB7E1603FF for ; Mon, 21 Aug 2017 22:28:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBDD0286AA for ; Mon, 21 Aug 2017 22:28:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B1043286AB; Mon, 21 Aug 2017 22:28:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C665286B8 for ; Mon, 21 Aug 2017 22:28:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754446AbdHUW2u (ORCPT ); Mon, 21 Aug 2017 18:28:50 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:48971 "EHLO mx1.mailbox.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754242AbdHUW2s (ORCPT ); Mon, 21 Aug 2017 18:28:48 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 53FDC42528; Tue, 22 Aug 2017 00:28:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id 3nPim17bGqNa; Tue, 22 Aug 2017 00:28:45 +0200 (CEST) From: Hauke Mehrtens To: johannes@sipsolutions.net Cc: backports@vger.kernel.org, Hauke Mehrtens Subject: [PATCH 15/21] dependencies: add deps for struct acpi_gpio_mapping Date: Tue, 22 Aug 2017 00:28:11 +0200 Message-Id: <20170821222817.17376-16-hauke@hauke-m.de> In-Reply-To: <20170821222817.17376-1-hauke@hauke-m.de> References: <20170821222817.17376-1-hauke@hauke-m.de> Sender: backports-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: backports@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These NFC drivers are using struct acpi_gpio_mapping which was added in kernel 3.19. Do not try to build them on older kernel versions where this structures is not available. Signed-off-by: Hauke Mehrtens --- dependencies | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dependencies b/dependencies index f97e12ad..9b46abc1 100644 --- a/dependencies +++ b/dependencies @@ -58,11 +58,12 @@ NFC_PN544_I2C 3.17 # this needs devm_gpiod_get_index() with 4 arguments. NFC_NXP_NCI_I2C 3.17 -# this needs device_property..() functions -NFC_FDP_I2C 3.18 -NFC_ST21NFCA_I2C 3.18 -NFC_ST_NCI_I2C 3.18 -NFC_ST_NCI_SPI 3.18 +# this needs device_property..() functions and struct acpi_gpio_mapping +NFC_FDP_I2C 3.19 +NFC_ST21NFCA_I2C 3.19 +NFC_ST_NCI_I2C 3.19 +NFC_ST_NCI_SPI 3.19 +NFC_PN544_I2C 3.19 # for whoever wants to backport this: GPIOF_EXPORT was redefined via commit # 79a9becd on v3.13-rc1~120^2~15, before this it was redefined via commit