提交 8b0be572 编写于 作者: M Marek Szyprowski 提交者: Inki Dae

drm/exynos: mic: make all functions static

There is no point exposing all internal functions to global kernel name
space, so make all internals functions static.
Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: NInki Dae <inki.dae@samsung.com>
上级 622688f3
...@@ -307,9 +307,9 @@ static int parse_dt(struct exynos_mic *mic) ...@@ -307,9 +307,9 @@ static int parse_dt(struct exynos_mic *mic)
return ret; return ret;
} }
void mic_disable(struct drm_bridge *bridge) { } static void mic_disable(struct drm_bridge *bridge) { }
void mic_post_disable(struct drm_bridge *bridge) static void mic_post_disable(struct drm_bridge *bridge)
{ {
struct exynos_mic *mic = bridge->driver_private; struct exynos_mic *mic = bridge->driver_private;
int i; int i;
...@@ -329,7 +329,7 @@ void mic_post_disable(struct drm_bridge *bridge) ...@@ -329,7 +329,7 @@ void mic_post_disable(struct drm_bridge *bridge)
mutex_unlock(&mic_mutex); mutex_unlock(&mic_mutex);
} }
void mic_pre_enable(struct drm_bridge *bridge) static void mic_pre_enable(struct drm_bridge *bridge)
{ {
struct exynos_mic *mic = bridge->driver_private; struct exynos_mic *mic = bridge->driver_private;
int ret, i; int ret, i;
...@@ -372,7 +372,7 @@ void mic_pre_enable(struct drm_bridge *bridge) ...@@ -372,7 +372,7 @@ void mic_pre_enable(struct drm_bridge *bridge)
mutex_unlock(&mic_mutex); mutex_unlock(&mic_mutex);
} }
void mic_enable(struct drm_bridge *bridge) { } static void mic_enable(struct drm_bridge *bridge) { }
static const struct drm_bridge_funcs mic_bridge_funcs = { static const struct drm_bridge_funcs mic_bridge_funcs = {
.disable = mic_disable, .disable = mic_disable,
...@@ -421,7 +421,7 @@ static const struct component_ops exynos_mic_component_ops = { ...@@ -421,7 +421,7 @@ static const struct component_ops exynos_mic_component_ops = {
.unbind = exynos_mic_unbind, .unbind = exynos_mic_unbind,
}; };
int exynos_mic_probe(struct platform_device *pdev) static int exynos_mic_probe(struct platform_device *pdev)
{ {
struct device *dev = &pdev->dev; struct device *dev = &pdev->dev;
struct exynos_mic *mic; struct exynos_mic *mic;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册