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: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
Родитель
0552f7651b
Коммит
cb1b5dff49
|
@ -91,6 +91,7 @@ int mtk_smi_larb_get(struct device *larbdev)
|
|||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mtk_smi_larb_get);
|
||||
|
||||
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(common);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mtk_smi_larb_put);
|
||||
|
||||
static int
|
||||
mtk_smi_larb_bind(struct device *dev, struct device *master, void *data)
|
||||
|
|
Загрузка…
Ссылка в новой задаче