提交 cb1b5dff 编写于 作者: P Philipp Zabel

memory: mtk-smi: export mtk_smi_larb_get/put

To allow building mediatek-drm.ko as a module, the
mtk_smi_larb_get and mtk_smi_larb_put symbols have
to be exported.
Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
上级 0552f765
...@@ -91,6 +91,7 @@ int mtk_smi_larb_get(struct device *larbdev) ...@@ -91,6 +91,7 @@ int mtk_smi_larb_get(struct device *larbdev)
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(mtk_smi_larb_get);
void mtk_smi_larb_put(struct device *larbdev) void mtk_smi_larb_put(struct device *larbdev)
{ {
...@@ -106,6 +107,7 @@ void mtk_smi_larb_put(struct device *larbdev) ...@@ -106,6 +107,7 @@ void mtk_smi_larb_put(struct device *larbdev)
mtk_smi_disable(&larb->smi); mtk_smi_disable(&larb->smi);
mtk_smi_disable(common); mtk_smi_disable(common);
} }
EXPORT_SYMBOL_GPL(mtk_smi_larb_put);
static int static int
mtk_smi_larb_bind(struct device *dev, struct device *master, void *data) mtk_smi_larb_bind(struct device *dev, struct device *master, void *data)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册