From: Lee Jones Date: Mon, 15 Jun 2015 13:39:39 +0000 (+0800) Subject: mfd: cros_ec: Staticise some newly introduced structures X-Git-Tag: v4.9.8~4082^2~36^3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf649e00769a401d317352c4fe405169ddf61e1f;p=platform%2Fkernel%2Flinux-rpi3.git mfd: cros_ec: Staticise some newly introduced structures Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c index 11b1884..0eee635 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),