mfd: wolfson: Constify struct mfd_cell where possible
[deliverable/linux.git] / drivers / mfd / wm831x-core.c
index 5c459f469224a61719d3258e948c0f0f3ecef856..28366a90e1adfbec14b5679244676b1077c9926e 100644 (file)
@@ -1011,7 +1011,7 @@ static struct resource wm831x_wdt_resources[] = {
        },
 };
 
-static struct mfd_cell wm8310_devs[] = {
+static const struct mfd_cell wm8310_devs[] = {
        {
                .name = "wm831x-backup",
        },
@@ -1165,7 +1165,7 @@ static struct mfd_cell wm8310_devs[] = {
        },
 };
 
-static struct mfd_cell wm8311_devs[] = {
+static const struct mfd_cell wm8311_devs[] = {
        {
                .name = "wm831x-backup",
        },
@@ -1295,7 +1295,7 @@ static struct mfd_cell wm8311_devs[] = {
        },
 };
 
-static struct mfd_cell wm8312_devs[] = {
+static const struct mfd_cell wm8312_devs[] = {
        {
                .name = "wm831x-backup",
        },
@@ -1449,7 +1449,7 @@ static struct mfd_cell wm8312_devs[] = {
        },
 };
 
-static struct mfd_cell wm8320_devs[] = {
+static const struct mfd_cell wm8320_devs[] = {
        {
                .name = "wm831x-backup",
        },
@@ -1578,7 +1578,7 @@ static struct mfd_cell wm8320_devs[] = {
        },
 };
 
-static struct mfd_cell touch_devs[] = {
+static const struct mfd_cell touch_devs[] = {
        {
                .name = "wm831x-touch",
                .num_resources = ARRAY_SIZE(wm831x_touch_resources),
@@ -1586,7 +1586,7 @@ static struct mfd_cell touch_devs[] = {
        },
 };
 
-static struct mfd_cell rtc_devs[] = {
+static const struct mfd_cell rtc_devs[] = {
        {
                .name = "wm831x-rtc",
                .num_resources = ARRAY_SIZE(wm831x_rtc_resources),
@@ -1594,7 +1594,7 @@ static struct mfd_cell rtc_devs[] = {
        },
 };
 
-static struct mfd_cell backlight_devs[] = {
+static const struct mfd_cell backlight_devs[] = {
        {
                .name = "wm831x-backlight",
        },
This page took 0.042117 seconds and 5 git commands to generate.