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

From: Stephen Rothwell
Date: Mon Jun 10 2019 - 20:47:10 EST


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: pgptXgxn9cEop.pgp
Description: OpenPGP digital signature