From patchwork Sat Aug 19 10:34:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhumika Goyal X-Patchwork-Id: 9910443 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 2DE55603B5 for ; Sat, 19 Aug 2017 10:35:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FA0228C31 for ; Sat, 19 Aug 2017 10:35:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 148E028D95; Sat, 19 Aug 2017 10:35:55 +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=ham 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 C7E6C28D80 for ; Sat, 19 Aug 2017 10:35:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752172AbdHSKfA (ORCPT ); Sat, 19 Aug 2017 06:35:00 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:37361 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752020AbdHSKe6 (ORCPT ); Sat, 19 Aug 2017 06:34:58 -0400 Received: by mail-pg0-f67.google.com with SMTP id 83so18140023pgb.4; Sat, 19 Aug 2017 03:34:58 -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=Ixj6h7IbmbGfpzUSo7xn/XDwresbXFy7Sgglo8FRcOA=; b=Mld4BeyiNEv32EVoXpxZrJ8VUmXaTVKwKbUgFc0T/4Worq9vbVlxFkU0O8SmKXKLsL Xv6ooNByw66b1dgSVJEAXnFBmasQe268MKy95h/8uKqOvd4T3e1YxBvop8sbByLSJ83N J/PXnQJby49NmaW7jgxp77QjqW93jdzrqpTDJHPMNVGlyMkSUA+exEB/IfqZADvWMOzC ZxKYU1zUF8Y8IAg5pdzO/zUpE7tJ3ze5Q3OZzNxWSL3ketOwBJcohVMmuMnMlHvPhfKx Svk7rQ3MQtJNdB0d3T29g/kqE4ZSwEpLH3qX15IW3FeVhaqQrQwb9NqiyWfrKn1/6WQ0 PBSA== 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=Ixj6h7IbmbGfpzUSo7xn/XDwresbXFy7Sgglo8FRcOA=; b=in/GLjw6MwvISXAoHsRvOavobKA1tW+7bWM6tmmQrm8dHZeS2Czsl20dd4nWLqyyw6 hLcZ2I5/5svlqzASknI6LLrZdFQNUkK6OjRWwBIirjANiSMlU7H8CIlNni4MsxaKXMER XgJZyUiTfLFSq/AtTzbrIHcqzcV/dIrlzk+MpO1WCGwZvCxZcnpawxorvvd+DJsoU+RA Dp5+jLfQd4jWFWrLcSaYgbiWVQ8i9ijww7BI0oluNS4NR0aVIqz/I0o37A2Dxp00AqbA gn28bbIYY3K58ma39BQmO3ims6SsYT5ov+tUzNiZs68cASC0heV10xVDC3VEWbd3r3j6 tBXA== X-Gm-Message-State: AHYfb5idBbaGFDIzDOe8KGeTmkseEUeays3cth1pDK7F8lIuVF9Ul+iR VyCpQuEBr84jjA== X-Received: by 10.99.7.147 with SMTP id 141mr10596329pgh.316.1503138897959; Sat, 19 Aug 2017 03:34:57 -0700 (PDT) Received: from gmail.com ([59.94.206.141]) by smtp.gmail.com with ESMTPSA id o21sm14712953pfi.25.2017.08.19.03.34.51 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 19 Aug 2017 03:34:57 -0700 (PDT) Received: by gmail.com (sSMTP sendmail emulation); Sat, 19 Aug 2017 16:04:48 +0530 From: Bhumika Goyal To: julia.lawall@lip6.fr, wsa@the-dreams.de, jacmet@sunsite.dk, jglauber@cavium.com, david.daney@cavium.com, hans.verkuil@cisco.com, mchehab@kernel.org, awalls@md.metrocast.net, serjk@netup.ru, aospan@netup.ru, isely@pobox.com, ezequiel@vanguardiasur.com.ar, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Cc: Bhumika Goyal Subject: [PATCH 3/4] [media] radio-usb-si4713: make i2c_adapter const Date: Sat, 19 Aug 2017 16:04:14 +0530 Message-Id: <1503138855-585-4-git-send-email-bhumirks@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503138855-585-1-git-send-email-bhumirks@gmail.com> References: <1503138855-585-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 used in a copy operation. Done using Coccinelle Signed-off-by: Bhumika Goyal Acked-by: Wolfram Sang --- drivers/media/radio/si4713/radio-usb-si4713.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/radio/si4713/radio-usb-si4713.c b/drivers/media/radio/si4713/radio-usb-si4713.c index e5e5a16..f20aac2 100644 --- a/drivers/media/radio/si4713/radio-usb-si4713.c +++ b/drivers/media/radio/si4713/radio-usb-si4713.c @@ -409,7 +409,7 @@ static u32 si4713_functionality(struct i2c_adapter *adapter) /* This name value shows up in the sysfs filename associated with this I2C adapter */ -static struct i2c_adapter si4713_i2c_adapter_template = { +static const struct i2c_adapter si4713_i2c_adapter_template = { .name = "si4713-i2c", .owner = THIS_MODULE, .algo = &si4713_algo,