reset: Silence warning in reset-controller.h

If a user of <linux/reset-controller.h> doesn't include
<linux/of.h> before including reset-controller.h they'll get a
warning as follows:

  include/linux/reset-controller.h:44:17:
  warning: 'struct of_phandle_args' declared inside parameter list

This is because of_phandle_args is not forward declared. Add the
declaration to silence this warning.

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
This commit is contained in:
Stephen Boyd 2014-01-15 10:47:21 -08:00 committed by Mike Turquette
parent 7bf21bc81f
commit d0d44dd4ac
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ struct reset_control_ops {
struct module;
struct device_node;
struct of_phandle_args;
/**
* struct reset_controller_dev - reset controller entity that might