[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141222030215.GD30082@dtor-ws>
Date: Sun, 21 Dec 2014 19:02:15 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Jim Davis <jim.epost@...il.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next <linux-next@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-input@...r.kernel.org,
Grant Likely <grant.likely@...aro.org>,
Rob Herring <robh+dt@...nel.org>
Subject: Re: randconfig build error with next-20141219, in
drivers/input/misc/regulator-haptic.c
On Fri, Dec 19, 2014 at 09:13:02AM -0700, Jim Davis wrote:
> Building with the attached random configuration file,
>
> drivers/input/misc/regulator-haptic.c: In function ‘regulator_haptic_probe’:
> drivers/input/misc/regulator-haptic.c:184:2: error: implicit
> declaration of function ‘devm_regulator_get_exclusive’
> [-Werror=implicit-function-declaration]
> haptic->regulator = devm_regulator_get_exclusive(&pdev->dev, "haptic");
> ^
> drivers/input/misc/regulator-haptic.c:184:20: warning: assignment makes pointer
> from integer without a cast [enabled by default]
> haptic->regulator = devm_regulator_get_exclusive(&pdev->dev, "haptic");
> ^
> cc1: some warnings being treated as errors
> make[3]: *** [drivers/input/misc/regulator-haptic.o] Error 1
Thanks, I'll add the missing dependency on CONFIG_REGULATOR.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists