From patchwork Wed Oct 31 15:56:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pantelis Antoniou X-Patchwork-Id: 1672051 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id CD2873FD8C for ; Tue, 30 Oct 2012 18:15:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934108Ab2J3SOy (ORCPT ); Tue, 30 Oct 2012 14:14:54 -0400 Received: from li42-95.members.linode.com ([209.123.162.95]:59048 "EHLO li42-95.members.linode.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934100Ab2J3SMq (ORCPT ); Tue, 30 Oct 2012 14:12:46 -0400 X-Greylist: delayed 601 seconds by postgrey-1.27 at vger.kernel.org; Tue, 30 Oct 2012 14:12:41 EDT Received: from sles11esa.localdomain (unknown [195.97.110.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: panto) by li42-95.members.linode.com (Postfix) with ESMTPSA id B777C9C1EA; Tue, 30 Oct 2012 18:03:22 +0000 (UTC) From: Pantelis Antoniou To: Florian Tobias Schandinat Cc: Pantelis Antoniou , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Koen Kooi , Matt Porter , Russ Dill , linux-omap@vger.kernel.org Subject: [PATCH] da8xx: De-constify members in the platform config. Date: Wed, 31 Oct 2012 17:56:29 +0200 Message-Id: <1351698989-4049-1-git-send-email-panto@antoniou-consulting.com> X-Mailer: git-send-email 1.7.12 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org There's no need for this to be const. It interferes with creating the platform data dynamically. Signed-off-by: Pantelis Antoniou --- include/video/da8xx-fb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/video/da8xx-fb.h b/include/video/da8xx-fb.h index 5a0e4f9..a512d6b 100644 --- a/include/video/da8xx-fb.h +++ b/include/video/da8xx-fb.h @@ -35,9 +35,9 @@ struct display_panel { }; struct da8xx_lcdc_platform_data { - const char manu_name[10]; + char manu_name[10]; void *controller_data; - const char type[25]; + char type[25]; void (*panel_power_ctrl)(int); };