mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
video: fbdev: pvr2fb: fix build warning when compiling as module
Add missing #ifndef MODULE around pvr2_get_param_val().
Fixes: 0f5a5712ad ("video: fbdev: pvr2fb: add COMPILE_TEST support")
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
4d0664ab88
commit
10715127e4
1 changed files with 2 additions and 0 deletions
|
|
@ -723,6 +723,7 @@ static struct fb_ops pvr2fb_ops = {
|
|||
.fb_imageblit = cfb_imageblit,
|
||||
};
|
||||
|
||||
#ifndef MODULE
|
||||
static int pvr2_get_param_val(const struct pvr2_params *p, const char *s,
|
||||
int size)
|
||||
{
|
||||
|
|
@ -734,6 +735,7 @@ static int pvr2_get_param_val(const struct pvr2_params *p, const char *s,
|
|||
}
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static char *pvr2_get_param_name(const struct pvr2_params *p, int val,
|
||||
int size)
|
||||
|
|
|
|||
Loading…
Reference in a new issue