From 074e6fd13377e78e788fbcf986a887d460ea8b39 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 23 Jan 2015 17:20:25 +0300 Subject: [PATCH] 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 --- drivers/staging/fbtft/fb_agm1264k-fl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1