Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1302367imd; Sat, 27 Oct 2018 06:25:51 -0700 (PDT) X-Google-Smtp-Source: AJdET5cmSOadZn5fBfb9CsuADVG0KbgZei4f2s5uee1MA3lWHAukCUU/zn84zs1FzaxLxE7hkA4N X-Received: by 2002:a62:4586:: with SMTP id n6-v6mr7619645pfi.3.1540646751107; Sat, 27 Oct 2018 06:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540646751; cv=none; d=google.com; s=arc-20160816; b=r64wTVrNwmPKOXPWdr24ZxR9PYnbvZoeGhvZHmHwimz2PASZNoa5+N2hjYx5cBdiLg AqT8upw2g5gkywJ/0VGNEZpXHPw753xO14rRFmzhZkFTrip6iU9TRYMuD1Zr0Wg5otgj cNhYXCa9FOB3YvI39nQV3FF1mwCzFsXJbOr2DHITcS7lslXA3XI8WqKazNdezt8K3OFz 1vtAdeXYW1RNKQsge6v0830h5IcxlctHiuZT309qqKXkDSYRaBT8yGfgkIr8+Rx6RM9H N2Gq52FXTYYBPT53Eq6+mK1/0UfWLWj1P7QxRJ3OJ0Dg17luoxyypeLI2Enh77u8akQt Y16A== 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=Fdn7iqvB8zsLzXTz+vkoKOF4gYa+7UHGGs+Gh4W6d9g=; b=e0BjDDTLJS+uyuBykU+/Pg0UOX6b66f5+jHp8Ut5keCaWRAEPubRJdBa4W+1W2/ike +AHap4yBsOHTODNJmQ3avHNKP/VAdKJwJU5N5Mv0OeOW7IuvKLB1GYJIQshauGaQ57yX YWYk+QGr9t7fQ30H5MgDGAM2/52aRy/DrrIkz+GTzSvxoAHZZ8QcfgSUUBsPLtXTHAAa SwjDT0Wou5mvjTICuQaJSoAzdKs2aMJTYQytyxdWuwnnu4Yhcq9drq8AkvWAVDYBlln6 S2iSD/vnPq5axhR3HjsQGpm6TUWhWTIvlRYO3BDdxeuEVX9jEqh9S0YZlOs/einC5ymD sY7w== 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 ay2-v6si12491262plb.410.2018.10.27.06.25.35; Sat, 27 Oct 2018 06:25:51 -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 S1728659AbeJ0WFV (ORCPT + 99 others); Sat, 27 Oct 2018 18:05:21 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:39531 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728252AbeJ0WFV (ORCPT ); Sat, 27 Oct 2018 18:05:21 -0400 X-IronPort-AV: E=Sophos;i="5.54,432,1534802400"; d="scan'208";a="353089206" Received: from palace.lip6.fr ([132.227.105.202]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-SHA256; 27 Oct 2018 15:24:20 +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 structures stored in fields of v4l2_subdev_ops structure Date: Sat, 27 Oct 2018 14:49:03 +0200 Message-Id: <1540644545-26184-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 The fields of a v4l2_subdev_ops structure are all const, so the structures that are stored there and are not used elsewhere can be const as well. Done with the help of Coccinelle. --- drivers/media/i2c/ov7740.c | 4 ++-- drivers/media/platform/vimc/vimc-sensor.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)