projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0552f76
)
memory: mtk-smi: export mtk_smi_larb_get/put
author
Philipp Zabel
<p.zabel@pengutronix.de>
Wed, 27 Apr 2016 08:48:00 +0000
(10:48 +0200)
committer
Philipp Zabel
<p.zabel@pengutronix.de>
Fri, 6 May 2016 12:20:56 +0000
(14:20 +0200)
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>
drivers/memory/mtk-smi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/memory/mtk-smi.c
b/drivers/memory/mtk-smi.c
index 089091f5f89068ce9d179e6d9d36963592cccdc0..f6b57579185afbccf4b89b8a35b276f2dbbba12f 100644
(file)
--- 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)