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

From: Stephen Rothwell <[email-masked]>
Date: Tue, 11 Jun 2019 10:42:39 +1000

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