From patchwork Sat Mar 11 13:48:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 68119 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp289049wrd; Sat, 11 Mar 2023 05:53:35 -0800 (PST) X-Google-Smtp-Source: AK7set8nQRQuLrVSht+PFrxlCGyz2cCoOTHAQyyrG1tA6Xz5k0txkkJ47UlJKO7i2g2BvqHJuIlA X-Received: by 2002:a17:90a:bb8d:b0:23a:6d16:8e55 with SMTP id v13-20020a17090abb8d00b0023a6d168e55mr28457440pjr.25.1678542814973; Sat, 11 Mar 2023 05:53:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678542814; cv=none; d=google.com; s=arc-20160816; b=Ylzq2oitqr1ybjc8+Cxpm123sxZaWDpXuSOUXovpNau+SGlTjanHaxDROEBoq6JfWE 07UvDg/NU5aaEjNj1gHNLsM/UM/MsUv9rBszQYtHCcpBzFIR/RsO551nPT/tw8wA7mSX EPjODi6MEFoH3S77PCdfrwCKXjA3QkQMxj41jN2OXcVGEsQZRz877ZMFfQeiG27JvnIp KRCk9lLMVq09QJG5Q9ceDDgm0pYXZXEx+VKfM3GE6PQz+gSSDpYXdVwFq4Gz1xmzMGa8 i64C22DnKR0TGpRn9MWvUsaqieM4A3FWFLIZny43gsg878ORrI+KDHTb0yCaWzcdHU8p /fYw== 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:dkim-signature; bh=NcfgF3uxX783RG109c6BFmxXkTNUHbIUH8XfVEOGGVg=; b=zLHhn60iLntKqyPvudS+dQQ7SME8w5SpCtHThOq90ij2CncFYpBc9QH+m+8sSXKZaV oyO+wzNcetqMiiEnRlME7TSs53YIRstrdqFwQO1gh6LjTwtzpWHQcuVL2UNWo2LMPkya WZNeo9Wl4eYkOHLLwo6jTyrC9t9vGq6EQcaJLLgVh7Nstq7tuZ6m3Oq8lYmbH6/oV3vd QQLyEx/YE8FWfVuDwD5H/MWAYVif78Aralklc3jSV0Ofn8P+0lC6VMm+3YicWqmO/Xqe oofWUBJw/Ojm5xAGI3755nI6jmofBQsF02Z2T5Zae9XV1FiMa6PkI6CBsrWlouvU081Y tW1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OEfkvZIV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y13-20020a17090aa40d00b0022c4ddf8413si2248216pjp.8.2023.03.11.05.53.22; Sat, 11 Mar 2023 05:53:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OEfkvZIV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229910AbjCKNtv (ORCPT + 99 others); Sat, 11 Mar 2023 08:49:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229761AbjCKNtp (ORCPT ); Sat, 11 Mar 2023 08:49:45 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A760599D48 for ; Sat, 11 Mar 2023 05:48:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678542538; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=NcfgF3uxX783RG109c6BFmxXkTNUHbIUH8XfVEOGGVg=; b=OEfkvZIVGrqAH6E/KjVlQYju9NmTfyBOaPk+fSchFR7RM//ai3b/24DpO4bxokZ82AooJg AQTQXQz6lDtNcqnkIvSZUGDt2m1+2bWrJAiDTo5F76D1KnbeLD5zrT8HhBAHD9rLtQt3Ao tTWcLifidzKRRqE4Qz4sVDZns634T2E= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-203--58ARnCSPj-LnXl7A6vfzw-1; Sat, 11 Mar 2023 08:48:55 -0500 X-MC-Unique: -58ARnCSPj-LnXl7A6vfzw-1 Received: by mail-qk1-f197.google.com with SMTP id b22-20020ae9eb16000000b007427f9339c0so4599152qkg.17 for ; Sat, 11 Mar 2023 05:48:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678542535; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NcfgF3uxX783RG109c6BFmxXkTNUHbIUH8XfVEOGGVg=; b=3Sve+ltDl6lokmNJsbnivokWcCeIpmjUjdbZDRxj4sxrEebYpeM+sjPKuJJqNmuCcU XkMzhbq0UaIz4V9Zu7LteAwLq7Ha9bL9GBQwECDQY/+gudM13KGipqIQCbO7SrVX2TSF gLpKVVWQFKP84bKewffsBSfxhOyBFhqxFc/WWQW2TMslWi7traFmuTegVctRNJN45v1o EXHt2e6iicX5fqgpDOqj+I4MpNF35ocsO2yI7+xkJJbchdRNVOxW3tIw3Fmp7G2oAOAj yEdI8nEUXqLwMjWK1w/AvCSrmshoyXeSE8BOIkB6+oubT4WgkjVt1TAtzGuUzvM0F1VJ jhjA== X-Gm-Message-State: AO0yUKVlk0MANpqnFNlu0gWT8qulVdCykY1yapcFgMnWqswU0yycFOrg DEGN1lZmvLLINw8otBOrl2SFVouTJy6f9b6ivBOYY4YbCtmfKIAdinCOqiG0sJ5IG6Lh3L7tJAm Ugp4Khkk70DxO7Gmlp1NekMDp X-Received: by 2002:a05:6214:202f:b0:56f:37a:4561 with SMTP id 15-20020a056214202f00b0056f037a4561mr3674078qvf.34.1678542534951; Sat, 11 Mar 2023 05:48:54 -0800 (PST) X-Received: by 2002:a05:6214:202f:b0:56f:37a:4561 with SMTP id 15-20020a056214202f00b0056f037a4561mr3674066qvf.34.1678542534705; Sat, 11 Mar 2023 05:48:54 -0800 (PST) Received: from dell-per740-01.7a2m.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id q29-20020a05620a025d00b0071aacb2c76asm359026qkn.132.2023.03.11.05.48.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Mar 2023 05:48:54 -0800 (PST) From: Tom Rix To: isely@pobox.com, mchehab@kernel.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] media: pvrusb2: VIDEO_PVRUSB2 depends on DVB_CORE to use dvb_* symbols Date: Sat, 11 Mar 2023 08:48:47 -0500 Message-Id: <20230311134847.624910-1-trix@redhat.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760079710972924944?= X-GMAIL-MSGID: =?utf-8?q?1760079710972924944?= A rand config causes this link error vmlinux.o: In function `pvr2_dvb_create': (.text+0x8af1d2): undefined reference to `dvb_register_adapter' The rand config has CONFIG_VIDEO_PVRUSB2=y CONFIG_VIDEO_DEV=y CONFIG_DVB_CORE=m VIDEO_PVRUSB2 should also depend on DVB_CORE. Signed-off-by: Tom Rix --- drivers/media/usb/pvrusb2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/pvrusb2/Kconfig b/drivers/media/usb/pvrusb2/Kconfig index f2b64e49c5a2..9501b10b31aa 100644 --- a/drivers/media/usb/pvrusb2/Kconfig +++ b/drivers/media/usb/pvrusb2/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config VIDEO_PVRUSB2 tristate "Hauppauge WinTV-PVR USB2 support" - depends on VIDEO_DEV && I2C + depends on VIDEO_DEV && I2C && DVB_CORE select VIDEO_TUNER select VIDEO_TVEEPROM select VIDEO_CX2341X