From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C1C1868 for ; Sat, 4 Dec 2021 20:56:23 +0000 (UTC) Received: by mail-lf1-f54.google.com with SMTP id u3so15304352lfl.2 for ; Sat, 04 Dec 2021 12:56:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=OPvjDBqjKrEr3rCU6Ypf1Nh6PeMaDSW0GSJx+jjs91E=; b=WN5Df8voZmPhnJyeK9VVbRxtRFeqrC9aRt0puxIPsiByy8EMh2f3kSeuhOBVeyrk8F Y43UgQdzOKtl0cjeyp6OYNdgLOR85GhKqcPEBZ8BgGttzRxM6dDjtQ5VLjujqcZERMSu Y7+QTQ+GuldBr9PwgG9gN+74TX3RLuF0kiOiaiKIjEqqoRTKrG3QPDBOEBEsA4d+C7zK PuXhuuEMGZNS/y/7IsF2j4Ba8xY/bC/63BjekMo0L4XnIMkB9Inq8JlSimxOxndnWj2E pkbb+INiKfi/z+qCdpBuIyW07NrhTZ/3MccMnYEDQL+OCFikAuAN/H8xinzTBHTcI492 ZquQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=OPvjDBqjKrEr3rCU6Ypf1Nh6PeMaDSW0GSJx+jjs91E=; b=xvcHyv4rKBCS5DnhUk8lzvUtJl33X54dj5H/e/uIzXnkG9d6bFr1zpQfe8gcx0C6Fi XEfIiV1eZSqcF0nJ+IeLYR99OrQD8uX7ei3OEA5o39Fu/SyJyyY3psrTcgzR0JUuiZIy yLbQvFsDdUm+NVJzc4Vqoc58BgRj3p6IqbwAdsZW6W+fFrrka0z8SY3UJFqO3r7rCvia 7igINqim2pBGkE17MkvuF0PcNX+7LFkJHzSRsLzVIDFbt2Ph6h5Ut2zNCK9DuPl5DNIe lqMVoT3DclMbwKdaN1kpJGg11rp//OMEuWpZFIePZ+9BbvnQ/0BHhjbbwiyZPVKi/27n PnTw== X-Gm-Message-State: AOAM5326ABWIkTSqWebO74seMdrqhAEuAthm1O7M59o9Jz8bbqEzAj2m pxSp5mamDCCe05ym08sjIDfBhw== X-Google-Smtp-Source: ABdhPJylUmg0TqiyMASBi1dvn+e6etre5OB39NT/92hJJcQMpFMxUcZv2KoIWwS/j07aDs6muTugQg== X-Received: by 2002:a05:6512:3ca1:: with SMTP id h33mr25609312lfv.640.1638651381507; Sat, 04 Dec 2021 12:56:21 -0800 (PST) Received: from localhost (h-46-59-88-219.A463.priv.bahnhof.se. [46.59.88.219]) by smtp.gmail.com with ESMTPSA id 190sm939797ljf.4.2021.12.04.12.56.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Dec 2021 12:56:20 -0800 (PST) Date: Sat, 4 Dec 2021 21:56:19 +0100 From: Niklas =?iso-8859-1?Q?S=F6derlund?= To: Arnd Bergmann Cc: Mauro Carvalho Chehab , Greg Kroah-Hartman , Sakari Ailus , Arnd Bergmann , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: staging: max96712: add V4L2 dependencies Message-ID: References: <20211204174559.1146671-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211204174559.1146671-1-arnd@kernel.org> Hi Arnd, Thanks for your patch. I'm sorry for introducing the fault in the first place, Sakari already sent a fix for my mistake [1]. Just waiting for Mauro to pick it up. 1. https://patchwork.linuxtv.org/project/linux-media/patch/20211126080623.1587610-1-sakari.ailus@linux.intel.com/ On 2021-12-04 18:45:48 +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Without the extra dependencies, I run into randconfig build failures: > > WARNING: unmet direct dependencies detected for VIDEO_V4L2_SUBDEV_API > Depends on [n]: MEDIA_SUPPORT [=y] && VIDEO_DEV [=n] && MEDIA_CONTROLLER [=y] > Selected by [y]: > - VIDEO_MAX96712 [=y] && STAGING [=y] && STAGING_MEDIA [=y] && MEDIA_SUPPORT [=y] && I2C [=y] && OF_GPIO [=y] > > aarch64-linux-ld: drivers/staging/media/max96712/max96712.o: in function `max96712_probe': > max96712.c:(.text+0x1b8): undefined reference to `v4l2_fwnode_endpoint_parse' > aarch64-linux-ld: max96712.c:(.text+0x374): undefined reference to `v4l2_ctrl_handler_init_class' > aarch64-linux-ld: max96712.c:(.text+0x3b0): undefined reference to `v4l2_ctrl_new_std' > > Fixes: 5814f32fef13 ("media: staging: max96712: Add basic support for MAX96712 GMSL2 deserializer") > Signed-off-by: Arnd Bergmann > --- > drivers/staging/media/max96712/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/staging/media/max96712/Kconfig b/drivers/staging/media/max96712/Kconfig > index 258d47644cbd..62534110ca3b 100644 > --- a/drivers/staging/media/max96712/Kconfig > +++ b/drivers/staging/media/max96712/Kconfig > @@ -3,6 +3,7 @@ config VIDEO_MAX96712 > tristate "Maxim MAX96712 Quad GMSL2 Deserializer support" > depends on I2C > depends on OF_GPIO > + depends on VIDEO_DEV && VIDEO_V4L2 > select V4L2_FWNODE > select VIDEO_V4L2_SUBDEV_API > select MEDIA_CONTROLLER > -- > 2.29.2 > -- Kind Regards, Niklas Söderlund