This way, tiler can be built as a module.
Signed-off-by: Mircea Gherzan mgherzan@gmail.com --- drivers/media/video/tiler/tcm/tcm-sita.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/media/video/tiler/tcm/tcm-sita.c b/drivers/media/video/tiler/tcm/tcm-sita.c index d0784c6..d081d74 100644 --- a/drivers/media/video/tiler/tcm/tcm-sita.c +++ b/drivers/media/video/tiler/tcm/tcm-sita.c @@ -17,6 +17,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * */ +#include <linux/export.h> #include <linux/slab.h>
#include "_tcm-sita.h" @@ -161,6 +162,7 @@ error: kfree(pvt); return NULL; } +EXPORT_SYMBOL(sita_init);
static void sita_deinit(struct tcm *tcm) {