summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2015-06-15 21:39:39 +0800
committerLee Jones <lee.jones@linaro.org>2015-06-22 12:23:02 +0100
commitcf649e00769a401d317352c4fe405169ddf61e1f (patch)
treee736d1a2014abdd3683c81463cc9187a04907be0 /drivers
parentff4378f4b813d5aa26bbf814a9060638dab1fbbf (diff)
downloadtalos-op-linux-cf649e00769a401d317352c4fe405169ddf61e1f.tar.gz
talos-op-linux-cf649e00769a401d317352c4fe405169ddf61e1f.zip
mfd: cros_ec: Staticise some newly introduced structures
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/cros_ec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c
index 11b1884bce62..0eee63542038 100644
--- a/drivers/mfd/cros_ec.c
+++ b/drivers/mfd/cros_ec.c
@@ -27,23 +27,23 @@
#define CROS_EC_DEV_EC_INDEX 0
#define CROS_EC_DEV_PD_INDEX 1
-struct cros_ec_platform ec_p = {
+static struct cros_ec_platform ec_p = {
.ec_name = CROS_EC_DEV_NAME,
.cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_EC_INDEX),
};
-struct cros_ec_platform pd_p = {
+static struct cros_ec_platform pd_p = {
.ec_name = CROS_EC_DEV_PD_NAME,
.cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX),
};
-struct mfd_cell ec_cell = {
+static const struct mfd_cell ec_cell = {
.name = "cros-ec-ctl",
.platform_data = &ec_p,
.pdata_size = sizeof(ec_p),
};
-struct mfd_cell ec_pd_cell = {
+static const struct mfd_cell ec_pd_cell = {
.name = "cros-ec-ctl",
.platform_data = &pd_p,
.pdata_size = sizeof(pd_p),
OpenPOWER on IntegriCloud