From: Mark Brown Date: Wed, 22 Sep 2010 13:58:30 +0000 (+0100) Subject: mfd: Declare abx500_remove_ops() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c6252e9ce7f51a2af66bd69c93afb37191467c96;p=openwrt%2Fstaging%2Fblogic.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 Signed-off-by: Samuel Ortiz --- diff --git a/include/linux/mfd/abx500.h b/include/linux/mfd/abx500.h index be7373c79bea..67bd6f7ecf32 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