diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2016-04-27 10:48:00 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-05-06 14:20:56 +0200 |
commit | cb1b5dff49a16433063eb94022b4182af56aedd9 (patch) | |
tree | 6a6d89a74b8924c2729435e10d16afa95bfb7ce0 /drivers/memory | |
parent | 0552f7651bc233e5407ab06ba97a9d7c25e19580 (diff) | |
download | op-kernel-dev-cb1b5dff49a16433063eb94022b4182af56aedd9.zip op-kernel-dev-cb1b5dff49a16433063eb94022b4182af56aedd9.tar.gz |
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>
Diffstat (limited to 'drivers/memory')
-rw-r--r-- | drivers/memory/mtk-smi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/memory/mtk-smi.c b/drivers/memory/mtk-smi.c index 089091f..f6b5757 100644 --- a/drivers/memory/mtk-smi.c +++ b/drivers/memory/mtk-smi.c @@ -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) |