msm: qdss: fix section mismatches

WARNING: vmlinux.o(.devexit.text+0x4): Section mismatch in
reference from the function qdss_remove() to the function
.exit.text:qdss_sysfs_exit()
The function __devexit qdss_remove() references
a function __exit qdss_sysfs_exit().
If qdss_sysfs_exit is only used by qdss_remove then
annotate qdss_sysfs_exit with a matching annotation.

WARNING: arch/arm/mach-msm/built-in.o(.devexit.text+0x40):
Section mismatch in reference from the function etb_remove() to
the function .exit.text:etb_sysfs_exit()
The function __devexit etb_remove() references
a function __exit etb_sysfs_exit().
If etb_sysfs_exit is only used by etb_remove then
annotate etb_sysfs_exit with a matching annotation.

WARNING: arch/arm/mach-msm/built-in.o(.devexit.text+0xbc):
Section mismatch in reference from the function funnel_remove()
to the function .exit.text:funnel_sysfs_exit()
The function __devexit funnel_remove() references
a function __exit funnel_sysfs_exit().
If funnel_sysfs_exit is only used by funnel_remove then
annotate funnel_sysfs_exit with a matching annotation.

WARNING: arch/arm/mach-msm/built-in.o(.devexit.text+0xf4):
Section mismatch in reference from the function etm_remove() to
the function .exit.text:etm_sysfs_exit()
The function __devexit etm_remove() references
a function __exit etm_sysfs_exit().
If etm_sysfs_exit is only used by etm_remove then
annotate etm_sysfs_exit with a matching annotation.

Change-Id: I87cb5e746d1db995801927359c5b380470f03e22
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/mach-msm/qdss-etb.c b/arch/arm/mach-msm/qdss-etb.c
index 9b23766..7837af0 100644
--- a/arch/arm/mach-msm/qdss-etb.c
+++ b/arch/arm/mach-msm/qdss-etb.c
@@ -299,7 +299,7 @@
 }
 ETB_ATTR(trigger_cntr);
 
-static int __init etb_sysfs_init(void)
+static int __devinit etb_sysfs_init(void)
 {
 	int ret;
 
@@ -324,7 +324,7 @@
 	return ret;
 }
 
-static void __exit etb_sysfs_exit(void)
+static void __devexit etb_sysfs_exit(void)
 {
 	sysfs_remove_file(etb.kobj, &trigger_cntr_attr.attr);
 	kobject_put(etb.kobj);
diff --git a/arch/arm/mach-msm/qdss-etm.c b/arch/arm/mach-msm/qdss-etm.c
index 251db45..61f1c1b 100644
--- a/arch/arm/mach-msm/qdss-etm.c
+++ b/arch/arm/mach-msm/qdss-etm.c
@@ -1120,7 +1120,7 @@
 	.attrs = etm_attrs,
 };
 
-static int __init etm_sysfs_init(void)
+static int __devinit etm_sysfs_init(void)
 {
 	int ret;
 
@@ -1148,14 +1148,14 @@
 	return ret;
 }
 
-static void __exit etm_sysfs_exit(void)
+static void __devexit etm_sysfs_exit(void)
 {
 	sysfs_remove_group(etm.kobj, &etm_attr_grp);
 	sysfs_remove_file(etm.kobj, &enabled_attr.attr);
 	kobject_put(etm.kobj);
 }
 
-static bool __init etm_arch_supported(uint8_t arch)
+static bool __devinit etm_arch_supported(uint8_t arch)
 {
 	switch (arch) {
 	case PFT_ARCH_V1_1:
@@ -1166,7 +1166,7 @@
 	return true;
 }
 
-static int __init etm_arch_init(void)
+static int __devinit etm_arch_init(void)
 {
 	int ret, i;
 	/* use cpu 0 for setup */
diff --git a/arch/arm/mach-msm/qdss-funnel.c b/arch/arm/mach-msm/qdss-funnel.c
index 2d80603..52eb2b6 100644
--- a/arch/arm/mach-msm/qdss-funnel.c
+++ b/arch/arm/mach-msm/qdss-funnel.c
@@ -134,7 +134,7 @@
 }
 FUNNEL_ATTR(priority);
 
-static int __init funnel_sysfs_init(void)
+static int __devinit funnel_sysfs_init(void)
 {
 	int ret;
 
@@ -159,7 +159,7 @@
 	return ret;
 }
 
-static void __exit funnel_sysfs_exit(void)
+static void __devexit funnel_sysfs_exit(void)
 {
 	sysfs_remove_file(funnel.kobj, &priority_attr.attr);
 	kobject_put(funnel.kobj);
diff --git a/arch/arm/mach-msm/qdss.c b/arch/arm/mach-msm/qdss.c
index 0cc3ca5..fd1fc2b 100644
--- a/arch/arm/mach-msm/qdss.c
+++ b/arch/arm/mach-msm/qdss.c
@@ -290,7 +290,7 @@
 }
 QDSS_ATTR(max_clk);
 
-static void __init qdss_add_sources(struct qdss_source *srcs, size_t num)
+static void __devinit qdss_add_sources(struct qdss_source *srcs, size_t num)
 {
 	mutex_lock(&qdss.sources_mutex);
 	while (num--) {
@@ -322,7 +322,7 @@
 	return ret;
 }
 
-static void __exit qdss_sysfs_exit(void)
+static void __devexit qdss_sysfs_exit(void)
 {
 	sysfs_remove_file(qdss.modulekobj, &max_clk_attr.attr);
 }