From 855bf6a96bfe725696c6b10007a285593411284d Mon Sep 17 00:00:00 2001 From: Zhou Peng-B04994 Date: Thu, 22 Jun 2017 14:24:12 +0800 Subject: [PATCH] MLK-15132-4 : Enable Hantro decoder on i.MX8MQ Fix section mismatch link warning, Removing unnecessary annotation '__init'/'__exit' Signed-off-by: Zhou Peng-B04994 --- drivers/mxc/hantro/hantrodec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mxc/hantro/hantrodec.c b/drivers/mxc/hantro/hantrodec.c index 8ffbce56c270..a1fb5487c572 100755 --- a/drivers/mxc/hantro/hantrodec.c +++ b/drivers/mxc/hantro/hantrodec.c @@ -1266,7 +1266,7 @@ static struct file_operations hantrodec_fops = { Return type : int ------------------------------------------------------------------------------*/ -int __init hantrodec_init(void) { +int hantrodec_init(void) { int result, i; PDEBUG("module init\n"); @@ -1557,7 +1557,7 @@ err: Return type : int ------------------------------------------------------------------------------*/ -void __exit hantrodec_cleanup(void) { +void hantrodec_cleanup(void) { hantrodec_t *dev = &hantrodec_data; int n =0; /* reset hardware */ -- 2.17.1