diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pinctrl/pinctrl-exynos5440.c | 2 | ||||
-rw-r--r-- | drivers/pinctrl/pinctrl-samsung.c | 2 | ||||
-rw-r--r-- | drivers/pinctrl/pinctrl-samsung.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pinctrl/pinctrl-exynos5440.c b/drivers/pinctrl/pinctrl-exynos5440.c index b8635f634e91..07db89528dc3 100644 --- a/drivers/pinctrl/pinctrl-exynos5440.c +++ b/drivers/pinctrl/pinctrl-exynos5440.c | |||
@@ -117,7 +117,7 @@ struct exynos5440_pinctrl_priv_data { | |||
117 | }; | 117 | }; |
118 | 118 | ||
119 | /* list of all possible config options supported */ | 119 | /* list of all possible config options supported */ |
120 | struct pin_config { | 120 | static struct pin_config { |
121 | char *prop_cfg; | 121 | char *prop_cfg; |
122 | unsigned int cfg_type; | 122 | unsigned int cfg_type; |
123 | } pcfgs[] = { | 123 | } pcfgs[] = { |
diff --git a/drivers/pinctrl/pinctrl-samsung.c b/drivers/pinctrl/pinctrl-samsung.c index 8f31b656c4e9..864fed822f9d 100644 --- a/drivers/pinctrl/pinctrl-samsung.c +++ b/drivers/pinctrl/pinctrl-samsung.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #define FSUFFIX_LEN sizeof(FUNCTION_SUFFIX) | 37 | #define FSUFFIX_LEN sizeof(FUNCTION_SUFFIX) |
38 | 38 | ||
39 | /* list of all possible config options supported */ | 39 | /* list of all possible config options supported */ |
40 | struct pin_config { | 40 | static struct pin_config { |
41 | char *prop_cfg; | 41 | char *prop_cfg; |
42 | unsigned int cfg_type; | 42 | unsigned int cfg_type; |
43 | } pcfgs[] = { | 43 | } pcfgs[] = { |
diff --git a/drivers/pinctrl/pinctrl-samsung.h b/drivers/pinctrl/pinctrl-samsung.h index 5addfd16e3cc..e2d4e67f7e88 100644 --- a/drivers/pinctrl/pinctrl-samsung.h +++ b/drivers/pinctrl/pinctrl-samsung.h | |||
@@ -104,7 +104,7 @@ struct samsung_pinctrl_drv_data; | |||
104 | 104 | ||
105 | /** | 105 | /** |
106 | * struct samsung_pin_bank: represent a controller pin-bank. | 106 | * struct samsung_pin_bank: represent a controller pin-bank. |
107 | * @reg_offset: starting offset of the pin-bank registers. | 107 | * @pctl_offset: starting offset of the pin-bank registers. |
108 | * @pin_base: starting pin number of the bank. | 108 | * @pin_base: starting pin number of the bank. |
109 | * @nr_pins: number of pins included in this bank. | 109 | * @nr_pins: number of pins included in this bank. |
110 | * @func_width: width of the function selector bit field. | 110 | * @func_width: width of the function selector bit field. |