From patchwork Mon Mar 20 09:32:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9634003 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 7F0CF6020B for ; Mon, 20 Mar 2017 12:45:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75D8C23B23 for ; Mon, 20 Mar 2017 12:45:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A98427F95; Mon, 20 Mar 2017 12:45:05 +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=unavailable 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 275DE23B23 for ; Mon, 20 Mar 2017 12:45:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753585AbdCTJdQ (ORCPT ); Mon, 20 Mar 2017 05:33:16 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:54881 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753395AbdCTJc7 (ORCPT ); Mon, 20 Mar 2017 05:32:59 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0MTxmj-1cgr8h09Ld-00QmT4; Mon, 20 Mar 2017 10:32:46 +0100 From: Arnd Bergmann To: Mauro Carvalho Chehab Cc: Greg Kroah-Hartman , Alan Cox , linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH 7/9] staging/atomisp: add ACPI dependency Date: Mon, 20 Mar 2017 10:32:23 +0100 Message-Id: <20170320093225.1180723-7-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170320093225.1180723-1-arnd@arndb.de> References: <20170320093225.1180723-1-arnd@arndb.de> X-Provags-ID: V03:K0:x9EwRqesOdYseERJWbaZmw5ytytD5DrsSeO+qmtv+JDCS1VtcBn CGnBOjssQ8pzh/khsbqgF+aVTY8kBzHuXm4DI4PQjH7syfIbEqn63n8z2kMSU4HAJaZjH7S 7Z7+4NnB3Z+kpf+h76+7XeljVrWY0ugX9i4uk0w1M0O4mrQwoNbPwY7vsR3/Grl1awa7jCT tqPDEyLlNJJagx4VfdtdA== X-UI-Out-Filterresults: notjunk:1; V01:K0:ywAZ7m96sSs=:L/sYACqDXSexlkgkZXSymJ ZTeSRHJ5qTLxlLwIpcQaDzr+N0coMwfZ8rVnMOyoo5l3xsEhgwGjfXphwleIFEVFLZD2Xu7wv GqE7Sb+AfsQIgreVb8D67syuA0XYVGlX759kd9zd0I6/4FCCViFkALtAGmipnX+1F9PnbVI8I qoE10fqCk2/gtABIIz48dsIkPDBvu3ij0pKiSO6m4uYOArSHhthfOO3QrS3Ss2ZCEwfpcdcEo 5UTp+g7qG+CvR5mUx1V1042YAATx/4cm4ZptBtWtMd52XBo7VHgFEy8cYV0zswY45QSpD+Y8k LQLNB3zGYZHISfv4b7Bv93d5nZJoVqK8Rex/C9e8EDdt1k5nljN6alZVP8hWfXZSYtJbj4zXC KvCd2hM3B2cel1m+r8uAhmR3n/nrKdYkEK6X9PYoqaubmingmsUDgqkW2NqkltF2flenT3UBt 9C10XId2UjHBOTH24037FIQramwMeQFxq7rClF+t8iWt+Q31aeOtnpLcljh4CUNU5O3bYrDpK 5DlGz/FfAQ3Sb6fGH14LKvxilAyhxQOPDoIz9ozK/XJZOJmIATw8VlP0rl0CKQ/7vBHTP4cbx 2FItMF6edzMkPT1PZzT+EVDP3xBjIvBW2ep3IMz8AlohlcwUNm0h+HVxaUIgNDhv13RV7wKV0 4FWiCDXA0caveL4kib8dwiOl5e/tNB7Pddm1un1elWT/5cBzVl3DUV2LbDDT2k2FWLlM= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Without ACPI, some of the code fails to build: media/atomisp/platform/intel-mid/atomisp_gmin_platform.c: In function 'atomisp_register_i2c_module': media/atomisp/platform/intel-mid/atomisp_gmin_platform.c:174:7: error: dereferencing pointer to incomplete type 'struct acpi_device' We could work around that in the code, but since we already have a hard dependency on x86, adding the ACPI dependency seems to be the easiest solution. Fixes: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2") Signed-off-by: Arnd Bergmann --- drivers/staging/media/atomisp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/atomisp/Kconfig b/drivers/staging/media/atomisp/Kconfig index 3af2acdc7e96..97ffa2fc5384 100644 --- a/drivers/staging/media/atomisp/Kconfig +++ b/drivers/staging/media/atomisp/Kconfig @@ -1,6 +1,6 @@ menuconfig INTEL_ATOMISP bool "Enable support to Intel MIPI camera drivers" - depends on X86 && PCI + depends on X86 && PCI && ACPI help Enable support for the Intel ISP2 camera interfaces and MIPI sensor drivers.