diff options
Diffstat (limited to 'drivers/misc/vexpress-syscfg.c')
-rw-r--r-- | drivers/misc/vexpress-syscfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/vexpress-syscfg.c b/drivers/misc/vexpress-syscfg.c index 3250fc1df0aa..b3a812384a6f 100644 --- a/drivers/misc/vexpress-syscfg.c +++ b/drivers/misc/vexpress-syscfg.c | |||
@@ -130,7 +130,7 @@ static int vexpress_syscfg_write(void *context, unsigned int index, | |||
130 | return vexpress_syscfg_exec(func, index, true, &val); | 130 | return vexpress_syscfg_exec(func, index, true, &val); |
131 | } | 131 | } |
132 | 132 | ||
133 | struct regmap_config vexpress_syscfg_regmap_config = { | 133 | static struct regmap_config vexpress_syscfg_regmap_config = { |
134 | .lock = vexpress_config_lock, | 134 | .lock = vexpress_config_lock, |
135 | .unlock = vexpress_config_unlock, | 135 | .unlock = vexpress_config_unlock, |
136 | .reg_bits = 32, | 136 | .reg_bits = 32, |
@@ -276,7 +276,7 @@ int vexpress_syscfg_device_register(struct platform_device *pdev) | |||
276 | } | 276 | } |
277 | 277 | ||
278 | 278 | ||
279 | int vexpress_syscfg_probe(struct platform_device *pdev) | 279 | static int vexpress_syscfg_probe(struct platform_device *pdev) |
280 | { | 280 | { |
281 | struct vexpress_syscfg *syscfg; | 281 | struct vexpress_syscfg *syscfg; |
282 | struct resource *res; | 282 | struct resource *res; |