|
@@ -26,7 +26,7 @@
|
|
|
|
|
|
/* Device initialisation sequences */
|
|
|
|
|
|
-static struct ili9320_reg vgg_init1[] = {
|
|
|
+static const struct ili9320_reg vgg_init1[] = {
|
|
|
{
|
|
|
.address = ILI9320_POWER1,
|
|
|
.value = ILI9320_POWER1_AP(0) | ILI9320_POWER1_BT(0),
|
|
@@ -43,7 +43,7 @@ static struct ili9320_reg vgg_init1[] = {
|
|
|
},
|
|
|
};
|
|
|
|
|
|
-static struct ili9320_reg vgg_init2[] = {
|
|
|
+static const struct ili9320_reg vgg_init2[] = {
|
|
|
{
|
|
|
.address = ILI9320_POWER1,
|
|
|
.value = (ILI9320_POWER1_AP(3) | ILI9320_POWER1_APE |
|
|
@@ -54,7 +54,7 @@ static struct ili9320_reg vgg_init2[] = {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
-static struct ili9320_reg vgg_gamma[] = {
|
|
|
+static const struct ili9320_reg vgg_gamma[] = {
|
|
|
{
|
|
|
.address = ILI9320_GAMMA1,
|
|
|
.value = 0x0000,
|
|
@@ -89,7 +89,7 @@ static struct ili9320_reg vgg_gamma[] = {
|
|
|
|
|
|
};
|
|
|
|
|
|
-static struct ili9320_reg vgg_init0[] = {
|
|
|
+static const struct ili9320_reg vgg_init0[] = {
|
|
|
[0] = {
|
|
|
/* set direction and scan mode gate */
|
|
|
.address = ILI9320_DRIVER,
|