From patchwork Fri Jun 2 23:12:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 9763671 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 1B816602F0 for ; Fri, 2 Jun 2017 23:12:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D351285D9 for ; Fri, 2 Jun 2017 23:12:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 021B4285E0; Fri, 2 Jun 2017 23:12:52 +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 A11A1285D9 for ; Fri, 2 Jun 2017 23:12:52 +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=UFD9yLVLBUswHpWPHU28N3sccCjW97S2PezfyVbkWc4=; b=C2iOlRg/fxh4WT o6M5EbGRsL+YYHkLstzKFyqJDsbydsMhNm19pVnIuxoj5g4mOLkudpwSTkyWkdhMyKE08HsSlU94j sF90eWOJ08KwRf+PcJ9Y6/xE5sh73KEUNzSlSIwdt1NbQueuhheq6LaqwbecjVjyN6Jmj2N7ekMmb p1y5UfwUJM4hbbAywO33XoBnhKj2jRAYvWgtGnMA0kpNng+LOeIE85M0czaaIO8kwbZhV3ONFVt04 GNGB5DUqGBTfTKX3H4lQ8jMEmWVnB4meIEND4DT4fjsKh7p5Jeg/itBWtvzEIBkyIQ8ABmwY1kXjG 9qDmD8lMr1AOQy4bORxw==; 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 1dGvkQ-0005xm-PC; Fri, 02 Jun 2017 23:12:50 +0000 Received: from mail-pg0-x22f.google.com ([2607:f8b0:400e:c05::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dGvkJ-0005lb-5I for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2017 23:12:45 +0000 Received: by mail-pg0-x22f.google.com with SMTP id t185so1417156pgd.1 for ; Fri, 02 Jun 2017 16:12:22 -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=HRyFVZZh8Yw7m6t4xQ/e8C12YxmKj+RmP9PO4Bcf2So=; b=2BLLtpjhVFVn9V07TWxePiI1wkt2O432yABHrK6iA4D15lKY2DeSKRQbwh1615LZrI czVXlCk7BuZSxihhnCNdMekefrmfXJXkBS8UdkQmqfMspF7o3yTC+B6drCQaoY6GslGF OK+BoUykXfFcfpNgLLm86d0CEVeo1qffYZdZmBc9TVuNiJo9aOKZw234oQ6UDLbL5AGd RvI6bxECic1JwZCtkXF1GCk9QotP0nUE1ZYUxaNeuFzSCvxn1cH4LuGIXSbRrjyEVT3O NT7HaKKxXAGnNNc38jT/xVEXsJ5+DlKUu9YOl9rIGXopSI0v3+RFiS1dqK22u/zsZbfX +uHg== 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=HRyFVZZh8Yw7m6t4xQ/e8C12YxmKj+RmP9PO4Bcf2So=; b=CWjUw0PZe11tqitHywCzIYq4FKFgFimY1w+Kn2F/oxYml2n3celbz9EybE7UmKpqbn fbIWoYYCOoNznMBPheOIhNfk0IqVHZFpYVMEcuFgz8WB/2k6rFFiUG72MnpYroV0EsqI Hncq2hVqjcf1OPZPh39GE6gyEPSIcKTyVles/Z3EXEFZnJoRt8UlDY4JrF3LDtz8OUHH SbZeanA7uEA8jjYIMjygag+r8uJJ/maU8tGioWWJm3I8RPjf3vvhGlKDWDK101eSwKrT vp1jFG72RB1GNlHCjDJEhudIqePshxwyKJA52AA9111Du+pzE1oEdd+35ukDHyeuKGB4 7ZqQ== X-Gm-Message-State: AODbwcB4dawq3aFE6GX0Vo5mRrW/ViESaLGrzdYPvRkEgoLTXCqPYuN7 SIeDLTgjHNs260Sx X-Received: by 10.98.9.91 with SMTP id e88mr9130807pfd.177.1496445142413; Fri, 02 Jun 2017 16:12:22 -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 w3sm3436440pfw.19.2017.06.02.16.12.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Jun 2017 16:12:21 -0700 (PDT) From: Kevin Hilman To: Sekhar Nori Subject: [PATCH 1/2] ARM: davinci: pdata-quirks: fix const warnings Date: Fri, 2 Jun 2017 16:12:09 -0700 Message-Id: <20170602231210.19553-2-khilman@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170602231210.19553-1-khilman@baylibre.com> References: <20170602231210.19553-1-khilman@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170602_161243_425643_82B88C18 X-CRM114-Status: GOOD ( 12.03 ) 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/pdata-quirks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,