From: Mark Brown <broonie@opensource.wolfsonmicro.com>
Date: Wed, 22 Sep 2010 13:58:30 +0000 (+0100)
Subject: mfd: Declare abx500_remove_ops()
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c6252e9ce7f51a2af66bd69c93afb37191467c96;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

mfd: Declare abx500_remove_ops()

Otherwise sparse warns about a public symbol with no declaration and
the compiler can't spot if the callers and users have different signatures
for the function.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
---

diff --git a/include/linux/mfd/abx500.h b/include/linux/mfd/abx500.h
index be7373c79be..67bd6f7ecf3 100644
--- a/include/linux/mfd/abx500.h
+++ b/include/linux/mfd/abx500.h
@@ -229,4 +229,5 @@ struct abx500_ops {
 };
 
 int abx500_register_ops(struct device *core_dev, struct abx500_ops *ops);
+void abx500_remove_ops(struct device *dev);
 #endif