staging: fbtft: fix allyesconfig build
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Jan 2015 14:20:25 +0000 (17:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 11:59:16 +0000 (19:59 +0800)
There are two functions call reset() so the allyesconfig breaks.  Let's
make this one static.

Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Tested-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_agm1264k-fl.c

index 7fe4fa0..9cc7d25 100644 (file)
@@ -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;