summaryrefslogtreecommitdiffstats
path: root/patches/linux-3.7-rc6/0087-da8xx-De-constify-members-in-the-platform-config.patch
blob: d2773a970fe4d2776e6f740bba8b1254e66ef524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From d4638819046e8c3ea545eb8b63cc90466cd2dd1d Mon Sep 17 00:00:00 2001
From: Pantelis Antoniou <panto@antoniou-consulting.com>
Date: Sat, 13 Oct 2012 16:22:47 +0300
Subject: [PATCH] da8xx: De-constify members in the platform config.

There's no need for this to be const. It interferes with
creating the platform data dynamically.

Remove const.
---
 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);
 };