Commit 8597e6b2 authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman

greybus: Fix parameters of core_param()

core_param() takes four parameters instead of three and so results in this
compilation error:

greybus/core.c:25:33: error: macro "core_param" requires 4 arguments, but only 3 given
 core_param(nogreybus, bool, 0444);
                                 ^

Fix this by adding proper arguments to it.
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent ff6e0b9c
...@@ -22,7 +22,7 @@ static bool nogreybus; ...@@ -22,7 +22,7 @@ static bool nogreybus;
#ifdef MODULE #ifdef MODULE
module_param(nogreybus, bool, 0444); module_param(nogreybus, bool, 0444);
#else #else
core_param(nogreybus, bool, 0444); core_param(nogreybus, nogreybus, bool, 0444);
#endif #endif
int greybus_disabled(void) int greybus_disabled(void)
{ {
......
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