Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2033203rdf; Mon, 6 Nov 2023 02:46:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFjV3SEbORIrIk2Z5NAM24XP03h/wxxX+BSF4Rnlhsenrbuutb4pE4jQyzIDnkW60v9SQ6V X-Received: by 2002:a17:90a:38c6:b0:280:2935:af23 with SMTP id x64-20020a17090a38c600b002802935af23mr19076363pjb.5.1699267586247; Mon, 06 Nov 2023 02:46:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699267586; cv=none; d=google.com; s=arc-20160816; b=zuUocY4WYDs4Rfyfq+E/wwZnfH17yimIfGZ/1SK+JwalHkS9M/r+hfXQMRg48FpiUE jHrtrkFHvTgHaCJE9UcMcND6NDTmHJbfYoQ3WUJ9L/opcehmBRxaHzTMlDtZq/yJjuKg m/NqBunBKn5jnaez6Zy+08HIkh9f+FiigEuXqYK7du1Q4mbmQ6b3gu/9Dl7hIT5YRxN7 uUjK1Tbbw0LmmAmrKsGUB1xMAod9QSR2k1FN3LPWjL4d/rIFOJSYU2XNOeWAU9D1P5Uc 1om3EQlkrFP3oS6OC6jKru/m3g7CrTdbbtzZDUW9tl9mWmnt6IudcYvDzdnNSMakNCIL Lw1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=o3LZ4ufcY6AZ7RvQ+SicseZQSyZF+w8dltE6ilmkci8=; fh=xwWSYhTG+D3XwRr2+nMV4R87G2R8eqCJHT2RoiC9G1s=; b=c8kNjf5l+TBTxhuGDZdPHFW24RBBq+8KFtWab8jiXwCgP7ThoXknU1DBnppxU/X+uv 0zhTwij2FHxMfof3LOuWBb90Pka1N20nJ2KhpdjILUaXuYoZh551sUmXu0nUItpYdlDW WxhhnYI0TTjkeM0iIziIUfKVEFvM5lEcey3t5Nhr0drYNUK8++NQYRULHfFeBQ5R+oxr HpKSrmlnWL5fd5EeqlO9kr7reEGhLuteqRs/X2HWcPDcnyDGzGx8rJlUCWVNo7mvRF63 7K4w61HwVItpU8/lpYDnRlMSzk/tQGFt8NlnlCELmhDRS9jO1u2DFn6TKZIACg2ECPWy UQ4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id y17-20020a17090aca9100b0028054d20dadsi7513880pjt.95.2023.11.06.02.46.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 02:46:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0718E807C5D9; Mon, 6 Nov 2023 02:45:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231260AbjKFKpZ (ORCPT + 99 others); Mon, 6 Nov 2023 05:45:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjKFKpY (ORCPT ); Mon, 6 Nov 2023 05:45:24 -0500 Received: from mx.gpxsee.org (mx.gpxsee.org [37.205.14.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1CDEBA1; Mon, 6 Nov 2023 02:45:20 -0800 (PST) Received: from [192.168.4.14] (unknown [62.77.71.229]) by mx.gpxsee.org (Postfix) with ESMTPSA id C540D5D2CC; Mon, 6 Nov 2023 11:45:17 +0100 (CET) Message-ID: <51ae3a0b-9c89-4b85-b44c-ea42d7eb7a20@gpxsee.org> Date: Mon, 6 Nov 2023 11:45:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] media: pci: mgb4: add COMMON_CLK dependency Content-Language: en-US To: Arnd Bergmann , Martin Tuma , Mauro Carvalho Chehab , Hans Verkuil Cc: Arnd Bergmann , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231023160539.1537355-1-arnd@kernel.org> From: =?UTF-8?Q?Martin_T=C5=AFma?= In-Reply-To: <20231023160539.1537355-1-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 06 Nov 2023 02:45:40 -0800 (PST) On 23. 10. 23 18:05, Arnd Bergmann wrote: > From: Arnd Bergmann > > This driver fails to build when HAVE_CLK and COMMON_CLK are disabled: > > x86_64-linux-ld: vmlinux.o: in function `mgb4_remove': > mgb4_core.c:(.text+0x1915e8c): undefined reference to `clkdev_drop' > x86_64-linux-ld: mgb4_core.c:(.text+0x1915e98): undefined reference to `clk_hw_unregister' > > Add a Kconfig dependency to enforce a clean build. > > Fixes: 0ab13674a9bd ("media: pci: mgb4: Added Digiteq Automotive MGB4 driver") > Signed-off-by: Arnd Bergmann > --- > drivers/media/pci/mgb4/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/media/pci/mgb4/Kconfig b/drivers/media/pci/mgb4/Kconfig > index 13fad15a434c..f2a05a1c8ffa 100644 > --- a/drivers/media/pci/mgb4/Kconfig > +++ b/drivers/media/pci/mgb4/Kconfig > @@ -2,6 +2,7 @@ > config VIDEO_MGB4 > tristate "Digiteq Automotive MGB4 support" > depends on VIDEO_DEV && PCI && I2C && DMADEVICES && SPI && MTD && IIO > + depends on COMMON_CLK > select VIDEOBUF2_DMA_SG > select IIO_BUFFER > select IIO_TRIGGERED_BUFFER Reviewed-by: Martin Tůma