linux-next: build warning after merge of the fbdev tree

Stephen Rothwell
2019-06-11T00:42:43Z

[-- Attachment #1: Type: text/plain, Size: 511 bytes --]

Hi Bartlomiej,

After merging the fbdev tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/video/fbdev/pvr2fb.c:726:12: warning: 'pvr2_get_param_val' defined but not used [-Wunused-function]
static int pvr2_get_param_val(const struct pvr2_params *p, const char *s,
^~~~~~~~~~~~~~~~~~

Introduced by commit

0f5a5712ad1e ("video: fbdev: pvr2fb: add COMPILE_TEST support")

The uses are protected by #ifndef MODULE.

--
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]