From: Viresh Kumar Date: Mon, 20 Oct 2014 11:15:50 +0000 (+0530) Subject: greybus: Fix parameters of core_param() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8597e6b2b9df0a1c777e3183c105d78a470d0c66;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index 38f867db9411..0a37b95d226b 100644 --- a/drivers/staging/greybus/core.c +++ b/drivers/staging/greybus/core.c @@ -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) {