Commit d0d44dd4 authored by Stephen Boyd's avatar Stephen Boyd Committed by Mike Turquette

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: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent 7bf21bc8
...@@ -21,6 +21,7 @@ struct reset_control_ops { ...@@ -21,6 +21,7 @@ struct reset_control_ops {
struct module; struct module;
struct device_node; struct device_node;
struct of_phandle_args;
/** /**
* struct reset_controller_dev - reset controller entity that might * struct reset_controller_dev - reset controller entity that might
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment