From patchwork Fri Jun 9 17:21:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 9778943 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 F200C60393 for ; Fri, 9 Jun 2017 17:22:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF520286E5 for ; Fri, 9 Jun 2017 17:22:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C127C286E2; Fri, 9 Jun 2017 17:22:33 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3C7AC286E2 for ; Fri, 9 Jun 2017 17:22:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YaQc74TGAXLkPBae+GVXC4kjOiPidg/2WJYAivn9Xtc=; b=TvDqyqnqCZLMX3 oQB5Cc1Q6/C3pbc2OmLvBAi1LWzUnSZgA21uf6amGWWQh3A+CxeKaWFmDvxLf1uFOknLZYCHgbqJN wYZI4/rVu65mdnAmsKZ19NIUO2UzGzuymH41MbyvSv+xIDRMsFEUMUeFx4OZvwtz4/qqBy9gaBI0Q vzn+Hi7vnCE0J6HehE0NRaohjk/Qw4cAL3X9Jixu1DiiA28CFAQ6FcC+aRquhWfCjKrUekVhrHon8 JHF4SBB1j6qV9GJ35iyEivUf02VjyDUZ0Zak8CGBKKgHXaMrVOBxmFlEbTJB2JKxkioFA80UZg+Xj V7vW02sFycrylB7Mennw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dJNcG-0007WL-FS; Fri, 09 Jun 2017 17:22:32 +0000 Received: from mail-pf0-x22d.google.com ([2607:f8b0:400e:c00::22d]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dJNbU-0007Hr-Fd for linux-arm-kernel@lists.infradead.org; Fri, 09 Jun 2017 17:21:46 +0000 Received: by mail-pf0-x22d.google.com with SMTP id 15so3003650pfc.1 for ; Fri, 09 Jun 2017 10:21:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VdvusTeCMWwva0XjYsTHxQqYOjnaQSBSjn+9jpF2FmA=; b=i6841Ok5Vv8Fm9lK4FcfpybNk1KnEg6K7IeUKPjkAbyhMiS/sXC/EidbU0vkjlAX14 2SQ7t+faY461SQuUqqki5/xPsB+yU0IeBsfF6/udMHJOzQAgtWQQeThu6z3IHP/U/KFn ddz7nYfI6iGjjgZOzr8GnIQOmYT9DlDYe4j2N4Yiw/gVa8eyel5npOh8lmBhywV2IWIk 8kuQedwf3pIr0VcEF3YMU+woZujGOn4T+wfyZaq+gx2ZxC5DtoCDq4aKsHTrZ7Jg+zVk gJSQqJSK2NalmCTf7KpHWKlncpvcgtb0OagZ6lvh74r/tClgXwV40afIFTbrtdgTztKy LIkA== 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:mime-version:content-transfer-encoding; bh=VdvusTeCMWwva0XjYsTHxQqYOjnaQSBSjn+9jpF2FmA=; b=LlRTW1YktXjKMOwfT9IFt840pcRu5sVvu4O4Wh9J2edko5ZOyHgBLv6Ru1d4KA4WLW xdVYqmnEFUkk6fSUUjgMPnHWhsh27Ysb6f2rF7o8dzDnDRHrp0MTrMEMpC4txWN175eV 7ygiEx++qlzFkJWumc6S6KNaBcYe9VJoyApvOpI/Prek047DRBLU6ZO9Z398E+9YbaMs aQVLRGOYrSZrS2ICcJsaeMDG4b1/6zqHmFAxhKVz+m3P7RSLl1uQFW7Ocz5RkggP3Iql mmtEhz5XnuG7ZuxaXL3VDvbYtLHLvU+CjMRZjE7IzHx/LHA5ugfl9NeOam9RBxZZ3hij LccA== X-Gm-Message-State: AODbwcDj94kTvRfwAWdWgkyG99CZSSrjVGc3jmdmZLXSJdUEEdrMTvo2 T5WqQbzglyK7Gk07 X-Received: by 10.99.157.10 with SMTP id i10mr33736125pgd.116.1497028883605; Fri, 09 Jun 2017 10:21:23 -0700 (PDT) Received: from localhost (c-98-203-232-209.hsd1.wa.comcast.net. [98.203.232.209]) by smtp.gmail.com with ESMTPSA id c123sm3865948pfa.100.2017.06.09.10.21.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Jun 2017 10:21:23 -0700 (PDT) From: Kevin Hilman To: Sekhar Nori Subject: [PATCH v2 1/2] ARM: davinci: pdata-quirks: fix const warnings Date: Fri, 9 Jun 2017 10:21:10 -0700 Message-Id: <20170609172111.23057-2-khilman@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170609172111.23057-1-khilman@baylibre.com> References: <20170609172111.23057-1-khilman@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170609_102144_553356_0CA446D2 X-CRM114-Status: GOOD ( 11.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, David Lechner , Patrick Titiano Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP After VPIF was converted to enable getting subdevs from DT, the pdata is no longer const, so remove these to avoid compiler warnings. Signed-off-by: Kevin Hilman --- arch/arm/mach-davinci/board-dm646x-evm.c | 4 ++-- arch/arm/mach-davinci/pdata-quirks.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c index cb176826d1cb..055e947a6a39 100644 --- a/arch/arm/mach-davinci/board-dm646x-evm.c +++ b/arch/arm/mach-davinci/board-dm646x-evm.c @@ -641,7 +641,7 @@ static struct vpif_subdev_info vpif_capture_sdev_info[] = { }, }; -static const struct vpif_input dm6467_ch0_inputs[] = { +static struct vpif_input dm6467_ch0_inputs[] = { { .input = { .index = 0, @@ -656,7 +656,7 @@ static const struct vpif_input dm6467_ch0_inputs[] = { }, }; -static const struct vpif_input dm6467_ch1_inputs[] = { +static struct vpif_input dm6467_ch1_inputs[] = { { .input = { .index = 0, diff --git a/arch/arm/mach-davinci/pdata-quirks.c b/arch/arm/mach-davinci/pdata-quirks.c index 329f5402ad1d..4858b1cdf31b 100644 --- a/arch/arm/mach-davinci/pdata-quirks.c +++ b/arch/arm/mach-davinci/pdata-quirks.c @@ -33,7 +33,7 @@ static struct tvp514x_platform_data tvp5146_pdata = { #define TVP514X_STD_ALL (V4L2_STD_NTSC | V4L2_STD_PAL) -static const struct vpif_input da850_ch0_inputs[] = { +static struct vpif_input da850_ch0_inputs[] = { { .input = { .index = 0, @@ -48,7 +48,7 @@ static const struct vpif_input da850_ch0_inputs[] = { }, }; -static const struct vpif_input da850_ch1_inputs[] = { +static struct vpif_input da850_ch1_inputs[] = { { .input = { .index = 0,