mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
parent
ff6e0b9c2f
commit
8597e6b2b9
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ static bool nogreybus;
|
|||
#ifdef MODULE
|
||||
module_param(nogreybus, bool, 0444);
|
||||
#else
|
||||
core_param(nogreybus, bool, 0444);
|
||||
core_param(nogreybus, nogreybus, bool, 0444);
|
||||
#endif
|
||||
int greybus_disabled(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue