Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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>

authored by

Dan Carpenter and committed by
Greg Kroah-Hartman
074e6fd1 b3c986d3

+1 -1
+1 -1
drivers/staging/fbtft/fb_agm1264k-fl.c
··· 89 89 return 0; 90 90 } 91 91 92 - void reset(struct fbtft_par *par) 92 + static void reset(struct fbtft_par *par) 93 93 { 94 94 if (par->gpio.reset == -1) 95 95 return;