Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1271646imd; Sat, 27 Oct 2018 05:53:08 -0700 (PDT) X-Google-Smtp-Source: AJdET5d0LHjRj9Vgphn7wsa8LK1LA/PtyiERRGwtYRl8S4wcNHLSLSwFyNvXMYWkuWGKgX3Ts2TY X-Received: by 2002:a17:902:9698:: with SMTP id n24-v6mr7412416plp.9.1540644788172; Sat, 27 Oct 2018 05:53:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540644788; cv=none; d=google.com; s=arc-20160816; b=ROWrbqg75RVYrcU4awlZ40/7ky2BVcQtZG4a/jeA0HwwtL2dMKTJeA13m6gBI2oDEZ x5i7REZ9xKixhF0iOqxRmR8ln5NgkMepU034ws2jUjcDUq95LBQ1r03oohKDHWJaG+3A F0SBuU7RAgGb7j4q/rYMpH0KfcHPOwbaXXn7S1JMHrF3c4/x8N/K+650qp4e5PSqc/0c 6GDEjwc4davScm49968D3dD2q3tlIsG3wO0GZvGfLaHVLWESYJu/LKGZxICxD9kbKgGU 8ihMSExzGzkmi9h464tQHl894dehPxxQ843/iib9D6wDM2HpaMfP6m2oclcatIoPJisS JLwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=efbcTwVaVAaFtIdkCre8qgd6RS5vjfhxNOtLZlPxR1o=; b=EmKC+MPraCVtR3x3S8IDP/R5NBcicSgr+f6mO8iFJxdWIwoOLLFf7DvwNFZgEeaR3X mW1TbhjUmUSE0RJdi9F4XIhxJqCJT2ObJaKYfZ9ZsPLxUZiQdA4+YdmHSQaBjtHiCLnB fgGPsZFyjVmgN2Mda4mU1bERRkpEZo9JdnGWelQozktA6M8LfmjYvgrHRsCzFTm7WXkB dILbKxqd1oWo4GdoMr6PKKMwFypI+RWZI4aC/iToKtBu4JihZWlIn4F11AMy++GL0bHl MM5GJdW9pEtFRlwyCKY0sJr4E9ZoVpcj5HO7ioU1E6cMialeWMz3UsNUNxutpjAbFsnx 2/fQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t3-v6si15116020plj.337.2018.10.27.05.52.52; Sat, 27 Oct 2018 05:53:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728599AbeJ0Vcv (ORCPT + 99 others); Sat, 27 Oct 2018 17:32:51 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:63977 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726254AbeJ0Vcv (ORCPT ); Sat, 27 Oct 2018 17:32:51 -0400 X-IronPort-AV: E=Sophos;i="5.54,432,1534802400"; d="scan'208";a="283509231" Received: from palace.rsr.lip6.fr (HELO palace.lip6.fr) ([132.227.105.202]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES128-SHA256; 27 Oct 2018 14:51:56 +0200 From: Julia Lawall To: Mauro Carvalho Chehab Cc: kernel-janitors@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] constify v4l2_ctrl_ops structures Date: Sat, 27 Oct 2018 14:16:38 +0200 Message-Id: <1540642600-25840-1-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make const v4l2_ctrl_ops structures that are only stored in a const field or passed to a function having a const parameter. Done with the help of Coccinelle. --- drivers/media/i2c/ov5645.c | 2 +- drivers/media/platform/vicodec/vicodec-core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)