diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-12-19 16:28:28 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-01-07 08:39:19 +0000 |
commit | 3466bd2273b81a0a29d0e134ba1c78b64b84f40b (patch) | |
tree | a3501ccf09a759a1ecf52db12d819eeab41bbc7b | |
parent | fb7f8ce3bcd12bdfa0940c96ba1d2eddba88d000 (diff) |
mfd: ti_am335x_tscadc: Make am335x_tsc_se_update() local
Since the "recent" changes, am335x_tsc_se_update() has no longer any
users outside of this file so make it local.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/ti_am335x_tscadc.c | 3 | ||||
-rw-r--r-- | include/linux/mfd/ti_am335x_tscadc.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c index 88718abfb9ba..67d0eb469a45 100644 --- a/drivers/mfd/ti_am335x_tscadc.c +++ b/drivers/mfd/ti_am335x_tscadc.c @@ -48,11 +48,10 @@ static const struct regmap_config tscadc_regmap_config = { .val_bits = 32, }; -void am335x_tsc_se_update(struct ti_tscadc_dev *tsadc) +static void am335x_tsc_se_update(struct ti_tscadc_dev *tsadc) { tscadc_writel(tsadc, REG_SE, tsadc->reg_se_cache); } -EXPORT_SYMBOL_GPL(am335x_tsc_se_update); void am335x_tsc_se_set(struct ti_tscadc_dev *tsadc, u32 val) { diff --git a/include/linux/mfd/ti_am335x_tscadc.h b/include/linux/mfd/ti_am335x_tscadc.h index d498d98f0c2c..1fe72199e670 100644 --- a/include/linux/mfd/ti_am335x_tscadc.h +++ b/include/linux/mfd/ti_am335x_tscadc.h @@ -176,7 +176,6 @@ static inline struct ti_tscadc_dev *ti_tscadc_dev_get(struct platform_device *p) return *tscadc_dev; } -void am335x_tsc_se_update(struct ti_tscadc_dev *tsadc); void am335x_tsc_se_set(struct ti_tscadc_dev *tsadc, u32 val); void am335x_tsc_se_clr(struct ti_tscadc_dev *tsadc, u32 val); |