From: Dan Carpenter Date: Fri, 23 Jan 2015 14:20:25 +0000 (+0300) Subject: staging: fbtft: fix allyesconfig build X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=074e6fd13377e78e788fbcf986a887d460ea8b39;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: fbtft: fix allyesconfig build There are two functions call reset() so the allyesconfig breaks. Let's make this one static. Reported-by: Jim Davis Signed-off-by: Dan Carpenter Tested-by: Jim Davis Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/fbtft/fb_agm1264k-fl.c b/drivers/staging/fbtft/fb_agm1264k-fl.c index 7fe4fa078200..9cc7d25cf0e5 100644 --- a/drivers/staging/fbtft/fb_agm1264k-fl.c +++ b/drivers/staging/fbtft/fb_agm1264k-fl.c @@ -89,7 +89,7 @@ static int init_display(struct fbtft_par *par) return 0; } -void reset(struct fbtft_par *par) +static void reset(struct fbtft_par *par) { if (par->gpio.reset == -1) return;