Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2840137pxb; Mon, 18 Oct 2021 03:04:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9cuSvA1Fc/oFosziz5wv3ak9Jeia4FAE9micqc2Qj6vyIKBjbhrjQpsaHuDAlr+0LSRYU X-Received: by 2002:a17:906:fc0a:: with SMTP id ov10mr24435049ejb.536.1634551498693; Mon, 18 Oct 2021 03:04:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634551498; cv=none; d=google.com; s=arc-20160816; b=vMB7+/WavnhZrmsjB5I9DKHWBks+UzcYKMaQUoGO8X3NBZcn0gFpTJDD3mBrUhUHE8 lE7b51qpW90rg6/9GAlzWBr0zT7wBs0Xnnt7LbwVn2ZZvzNfuYFZwh0InOFVePb7AnG8 TYzjiqgkGY5XXeSWUHOIpQa8YzYJCcbD8sGbWECK2MhgX8Qlu+Lckc+dQ+WiJZr7c/eG zBGpUudyq21W5KjVtUGqMgUbpMLtreDmU05nLt8nLZoI91EUv5Zbq33smlUhz5BZCNhN rFmOmb2q+UQNsuGLNaPsc5qb8PTkxiZ122URw9o/+82EJYwI6gaC07HE3/8SlYivD5LF KuyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=U1xHStmHPMHJTv3MI6ukv/5lnPNms9ruhfFaZZxXvTo=; b=0onA1M5YLkmn9E9441GwQ3tqCty2AoKV02cA4GQ7KdORlOoWVyq4W5LZIx+ZFQsHLb 8PCNbJBHUQvuj+ieKTtjK5V+qct1ck7+k3+zaVBkNK4rlgDsNcU9pWhMmd/A32mVKdDV GP0JWGQxG7CvYlWrVJ2A4q8P1/B3lxgS3nIEuK/XxzEMXuXnHOtgrUxMTCaUgLV0Tmyq uijd4XfaF/sOU5TmbKATOBXyBx2M+SsQsh5urUVsUHkOF06giONYEl+Sj2W0NqYRjYOD fFW1mMt0VGmP3/ZNt/uPEJutBsZC4wRJdZ4rljLMrktuW31obQ7eUT+SB26hNxkEkD5B hVOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v14si18774722edb.187.2021.10.18.03.04.32; Mon, 18 Oct 2021 03:04:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229748AbhJRKCU (ORCPT + 99 others); Mon, 18 Oct 2021 06:02:20 -0400 Received: from comms.puri.sm ([159.203.221.185]:54404 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbhJRKB4 (ORCPT ); Mon, 18 Oct 2021 06:01:56 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 96DE9DF65B; Mon, 18 Oct 2021 02:59:11 -0700 (PDT) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Hdi4yePyglG; Mon, 18 Oct 2021 02:59:11 -0700 (PDT) From: Martin Kepplinger To: mchehab@kernel.org Cc: sakari.ailus@linux.intel.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@puri.sm, paul.kocialkowski@bootlin.com, Martin Kepplinger Subject: [PATCH] media: hi846: depend on OF Date: Mon, 18 Oct 2021 11:58:59 +0200 Message-Id: <20211018095859.255912-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since other device enumerate mechanisms are currently not implemented, make the hi846 sensor driver depend on CONFIG_OF. Signed-off-by: Martin Kepplinger --- drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 0e56489c97fb..53268f1f761f 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -746,6 +746,7 @@ config VIDEO_HI556 config VIDEO_HI846 tristate "Hynix Hi-846 sensor support" depends on I2C && VIDEO_V4L2 + depends on OF select MEDIA_CONTROLLER select VIDEO_V4L2_SUBDEV_API select V4L2_FWNODE -- 2.30.2