diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2016-10-25 21:22:30 +0100 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2016-10-26 20:50:56 +0000 |
commit | a7147f70488728f431d50283eb2b6a34c6c7bff7 (patch) | |
tree | 222d32796df68f990f18ab435adcfa02a50ee059 /drivers | |
parent | d149a7bf3406028b3394b443f7c22b68967deb53 (diff) |
pinmux/hexiwear: Make mux_config const and limit name space with static
Change-Id: Iba171d2367e4ff5c4e36f9b876cb5fb11ebd923a
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pinmux/k64/pinmux_board_hexiwear.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinmux/k64/pinmux_board_hexiwear.c b/drivers/pinmux/k64/pinmux_board_hexiwear.c index 47bbd7e3c..663258bec 100644 --- a/drivers/pinmux/k64/pinmux_board_hexiwear.c +++ b/drivers/pinmux/k64/pinmux_board_hexiwear.c @@ -34,7 +34,7 @@ * boards. Specifically, change the PINMUX_* values to represent the * functionality desired. */ -struct pin_config mux_config[] = { +static const struct pin_config mux_config[] = { /* pin, selected mode */ /* RGB */ @@ -54,7 +54,7 @@ struct pin_config mux_config[] = { { K64_PIN_PTE24, K64_PINMUX_ALT_3 }, }; -int hexiwear_pin_init(struct device *arg) +static int hexiwear_pin_init(struct device *arg) { ARG_UNUSED(arg); |