summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/fbdev/pvr2fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/pvr2fb.c b/drivers/video/fbdev/pvr2fb.c
index 04d56754ac13..15474cae816c 100644
--- a/drivers/video/fbdev/pvr2fb.c
+++ b/drivers/video/fbdev/pvr2fb.c
@@ -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)