From patchwork Sat Aug 26 10:20:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhumika Goyal X-Patchwork-Id: 9923397 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D6B53603FA for ; Sat, 26 Aug 2017 10:23:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C5DF7285AB for ; Sat, 26 Aug 2017 10:23:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA50D285C5; Sat, 26 Aug 2017 10:23:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 83AC1285AB for ; Sat, 26 Aug 2017 10:23:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754240AbdHZKUi (ORCPT ); Sat, 26 Aug 2017 06:20:38 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:38718 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754194AbdHZKUg (ORCPT ); Sat, 26 Aug 2017 06:20:36 -0400 Received: by mail-pg0-f68.google.com with SMTP id t3so2542176pgt.5; Sat, 26 Aug 2017 03:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jQFwog8M3yR/TytkhKEypy1z06jo9VdatZHdqOzwIwU=; b=NcI+9NiFmc7HqBBaKmXqkEu4C+gJA0mfIxUaSn8GNgMNfsT9i360QVxSHRKq8x3wfR KRW3hBmvK8+zKNK5cKdbSkuTRVCvFRrlvLk85seH8TV9MABrDdB1Q4owgjB08o8t5m5r J8XsB5ZXJhQchXdXaHRDbgBoPuDxIVBNyRH+sEK+AgHt19c4N1UVnimlc7nrNV1mOjS0 mb9x5HzjjURVWOiacfqz79/td4zfBFWpV1E5MrbTjbMWbZ1nktt/hs5OIN6pIfc4hb6K LRr1QeeLI+b8KaIV+yQywffLdBCU0+Bonu4NHAt69eXEcdgK3vimQgau3k8xNIHxjdTL UEaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jQFwog8M3yR/TytkhKEypy1z06jo9VdatZHdqOzwIwU=; b=AsxCALIyHmkATLh6h0C2ewCiZyy9O4Ey7XI4/jZLu1gw7xp29B1cTICek1fIOgiPQu Qhae8LqulAy2tOjXuBR0ML+toXtTyUkzvh7iKJpgz+TBdKwsN44H1vTGaFs0JV2HqdlI IFrygOxwM9rLWOqZ5mE6g2jEkd16IOA8S9ehzoU/4eJ7XgYrtzxv/npvM182QRG2jNZs xDPHRlxiv4WEITeaE+fR/AxoC66oVV/F6PxBXUixqT2eJR9VkDqy0f+g+WM7N4aX5fQU 2LrxdZUPmIUlndS/U5oPpG7Xo0yd6feWyG74gniESKr3PNJFnU9IiyUbhZcZZJHBZbVZ +i6w== X-Gm-Message-State: AHYfb5ix1AZq4FbNWZ/zK+2wN6T4/T9XpDUBO45a5kPYEzXbo/ojK72q VSpkUfRF2h3mOg== X-Received: by 10.98.79.214 with SMTP id f83mr1339815pfj.147.1503742835940; Sat, 26 Aug 2017 03:20:35 -0700 (PDT) Received: from gmail.com ([117.196.107.182]) by smtp.gmail.com with ESMTPSA id p64sm12161608pfl.24.2017.08.26.03.20.30 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 26 Aug 2017 03:20:35 -0700 (PDT) Received: by gmail.com (sSMTP sendmail emulation); Sat, 26 Aug 2017 15:50:27 +0530 From: Bhumika Goyal To: julia.lawall@lip6.fr, mchehab@kernel.org, hverkuil@xs4all.nl, corbet@lwn.net, kyungmin.park@samsung.com, kamil@wypas.org, a.hajda@samsung.com, bparrot@ti.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Bhumika Goyal Subject: [PATCH 01/10] [media] cx88: make video_device const Date: Sat, 26 Aug 2017 15:50:03 +0530 Message-Id: <1503742812-16139-2-git-send-email-bhumirks@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503742812-16139-1-git-send-email-bhumirks@gmail.com> References: <1503742812-16139-1-git-send-email-bhumirks@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make this const as it is only passed to the const argument of the function cx88_vdev_init. Signed-off-by: Bhumika Goyal --- drivers/media/pci/cx88/cx88-blackbird.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/cx88/cx88-blackbird.c b/drivers/media/pci/cx88/cx88-blackbird.c index aa49c95..e3101f0 100644 --- a/drivers/media/pci/cx88/cx88-blackbird.c +++ b/drivers/media/pci/cx88/cx88-blackbird.c @@ -1075,7 +1075,7 @@ static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id) .vidioc_unsubscribe_event = v4l2_event_unsubscribe, }; -static struct video_device cx8802_mpeg_template = { +static const struct video_device cx8802_mpeg_template = { .name = "cx8802", .fops = &mpeg_fops, .ioctl_ops = &mpeg_ioctl_ops,