Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp456118lqm; Wed, 1 May 2024 06:08:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9y5Nr34Zgg4Fu5w7K3qzisXI2A6GO6Lcmliw0OlkgCCSn2YqPgev+BxGFK8zfBUK9lsJZMpDKP2Z9J0cNrEA4m6qh1oAuaMdN/MwclQ== X-Google-Smtp-Source: AGHT+IEGjd+hLSLVmnK0tK8h70ZQCvm4/pYtHn4V7BbzQUxL2fNg4jY6lFdf2+eiDtaseKIg+BOy X-Received: by 2002:a05:6602:25cd:b0:7de:e06b:281a with SMTP id d13-20020a05660225cd00b007dee06b281amr2469182iop.15.1714568917683; Wed, 01 May 2024 06:08:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714568917; cv=pass; d=google.com; s=arc-20160816; b=zYPx1QuXqHkBWId37N/USn/dHwhQy/kTrwmEs7ADgAz7h7dsQ6GReZ6wPcZUGGzCd7 e/9+nbP9js2KeQi0L8YrLtP+KwqM3vDykygkhMvpDYdXMF4Ue9xGi5Mz3m6LHOR1KfCw Ib2tn3tkctjKoYgA82NLjbuXg8c3h5tj+9HZ2cvuPYNvE2TTquFtYk/fEIJCJtwksjW9 q689A1Fy18H6iDwIpacHqx9V+p7dxlSyIKKqIsBUgaH0e/o8ZjJO8FhTwRplKUPT1kDW 7cHT5YdkzomkvrwNM6q+f7oizFlV0xmCSEZnkoPLTVmGEtvjixJT1YekFl4Wb3k+usR9 3Smg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=t4YWfk8RHGxp4UPGDejpf4mUjri4mE+IBxPLABnVZ8s=; fh=g9aGcgroJ24gwkNJMUIwftyNnBHoxzI2Ks+JxhNhjm4=; b=lzpg/dRiSWz0Gihp37QAVSb8ESsUTWitOo12/amOFCDp1SptxUv3YK7C0eNHuG1USy R/SdEQS9LGEV89n7qBqwfysCyAgl2wels8GSoArYG4SXPQVoCrq9vys3XMeGs9iwJpcC PEDnc5K5GftwbIMN70ezfZdjfEgFXYT3Gz5e/AvucLZQhY5B9AtPQSbEm9LVwrDQfl2z 954zm+RX/q+lo6T8UejFWL2YBEKnOaBLnbk6zLh7btXlMNAy2PTsyE8G4mJwXcN8IPI+ oMm25U28iAPFY6fqmoZG1z54vhDX/SvtR62hXGs0ZJxTZuqU7r6ZZ7XRYUW+LhVTxK1W wkLA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=akejBctd; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-165300-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165300-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s127-20020a637785000000b005f803c50fe9si21141859pgc.186.2024.05.01.06.08.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 06:08:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165300-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=akejBctd; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-165300-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165300-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2D0DA2824BA for ; Wed, 1 May 2024 13:08:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C575712E1EE; Wed, 1 May 2024 13:08:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="akejBctd" Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (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 82AE712DDA2 for ; Wed, 1 May 2024 13:08:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714568897; cv=none; b=WtQldyhkFGRDPX95Fwpy3j16E18AX9Bt63xtfCu5C2OifRFMJQta6n6PyHfs/2UDZCo9zzBqG2MxTT89M0Ce7lApD/FmAg10820H3BycI2+wCXoVcwmyT0n6Oj/nwGD9HpCgo39jeowGD2+SPx4Y0cptuthSs3V9d+8eyVKijzE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714568897; c=relaxed/simple; bh=gc/o9u8NzZx22ClHEHIcXqgu1FhcRGTyvSqOBDjqUBQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=okBgvqpjUUXDB9ESfOvP39AcykToi8WrGs8j4nMgmQUqGaNEcG+3qCPqFqL+8cGCh0189wwthXR3R8PKIdOHiKsApYSmfDUGfd9KcVXzemjhVgPB1btm0mX7v4yiWEXNJTOn7Pzn6Ci7ooCNczpxmiRkoWBLkL5G8SdmXe+Che8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=akejBctd; arc=none smtp.client-ip=209.85.222.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-qk1-f175.google.com with SMTP id af79cd13be357-790c36dcee9so333737285a.2 for ; Wed, 01 May 2024 06:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1714568894; x=1715173694; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=t4YWfk8RHGxp4UPGDejpf4mUjri4mE+IBxPLABnVZ8s=; b=akejBctd/CkzebKoqH2XuIVrO5JDVC8MnCdM24KlXWdWRd+yToOTeBxcpTGFanCLxw EVCb6R9Ddam/ewiL4VuVWIWC7NQcwJ/8zJxLsQhoY42wHqN8IrR2Zhp4BerIiM+3lhBC WfaoBVIWOc04Zu6AzeYI7ueUyKShuskeQdZj4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714568894; x=1715173694; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t4YWfk8RHGxp4UPGDejpf4mUjri4mE+IBxPLABnVZ8s=; b=OV1DwUqZ21siX6i4gX2oOOu8g99FM3eFLxSkmjd6GYHq7LsQelnCze88ceOdOkRaF3 5NUsEm1gRGtCodE56voKJm8PQf9/veBoQXTLQ7wNKvs5+tJFgh831n3nFLgmJEQ+Acq0 +YnWcn1XHAxoTytucukzmMHVeKpykP4/9clN8L2FyIfSVKOiodKJJSifBDRVld4DlHyh SN4CvEa+ra/uxn5k7mImaV4x+3TL4uC0/1wIe3s43DjlTCWYAYL+N3orAZPX+LvV15Y2 D4zElkIXkbWF1gz9kJ75V9WF2fYo0kCxrHSzr6pNkcxA6/vpX8h/rCCLzXqA0hIsdys0 5Qew== X-Forwarded-Encrypted: i=1; AJvYcCUEW6pQs75hLWVJVcMgrWwmYxvT0xvAQqAW4b6fyFUihu3Y/nyFUY2mkt9BQhCqqN/7WBjPfVu1vA1HcZUn1iu0vhXmjtOSHXVRYfwE X-Gm-Message-State: AOJu0Yy8g84gSlBwGb8EZEjysSuVd0ekJAJtyRpaq8/1yWMbaLILqYCn hNrPPP80yVbYJfwaaiGrDdxtA70fwNy2Judo5Uo6FC0VlTEenozMFc+Nzfhgag== X-Received: by 2002:a05:6214:c8d:b0:6a0:caba:7e36 with SMTP id r13-20020a0562140c8d00b006a0caba7e36mr2957189qvr.29.1714568894525; Wed, 01 May 2024 06:08:14 -0700 (PDT) Received: from denia.c.googlers.com (114.152.245.35.bc.googleusercontent.com. [35.245.152.114]) by smtp.gmail.com with ESMTPSA id l26-20020a0c979a000000b0069b10d78445sm12430971qvd.142.2024.05.01.06.08.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 06:08:13 -0700 (PDT) From: Ricardo Ribalda Date: Wed, 01 May 2024 13:08:09 +0000 Subject: [PATCH v2 1/5] media: bcm2835-unicam: Fix build with !PM Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240501-fix-ipu6-v2-1-a5629a37a0fb@chromium.org> References: <20240501-fix-ipu6-v2-0-a5629a37a0fb@chromium.org> In-Reply-To: <20240501-fix-ipu6-v2-0-a5629a37a0fb@chromium.org> To: Mauro Carvalho Chehab , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Sakari Ailus , Bingbu Cao , Tianshu Qiu Cc: linux-media@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Hans Verkuil , Ricardo Ribalda X-Mailer: b4 0.12.4 The driver can only match the device vide the DT table, so the table should always be used, of_match_ptr does not make sense here. Fixes: drivers/media/platform/broadcom/bcm2835-unicam.c:2724:34: warning: ‘unicam_of_match’ defined but not used [-Wunused-const-variable=] Signed-off-by: Ricardo Ribalda --- drivers/media/platform/broadcom/bcm2835-unicam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/broadcom/bcm2835-unicam.c b/drivers/media/platform/broadcom/bcm2835-unicam.c index bd2bbb53070e..c590e26fe2cf 100644 --- a/drivers/media/platform/broadcom/bcm2835-unicam.c +++ b/drivers/media/platform/broadcom/bcm2835-unicam.c @@ -2733,7 +2733,7 @@ static struct platform_driver unicam_driver = { .driver = { .name = UNICAM_MODULE_NAME, .pm = pm_ptr(&unicam_pm_ops), - .of_match_table = of_match_ptr(unicam_of_match), + .of_match_table = unicam_of_match, }, }; -- 2.45.0.rc0.197.gbae5840b3b-goog