Skip to content

Commit

Permalink
mfd: Declare abx500_remove_ops()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Oct 28, 2010
1 parent 2cfcce1 commit c6252e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/mfd/abx500.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c6252e9

Please sign in to comment.