chips_init() only used within this file. It should be static. Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx> --- drivers/video/fbdev/chipsfb.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/video/fbdev/chipsfb.c b/drivers/video/fbdev/chipsfb.c index 998067b701fa..81198faf8159 100644 --- a/drivers/video/fbdev/chipsfb.c +++ b/drivers/video/fbdev/chipsfb.c @@ -66,11 +66,6 @@ inb(0x3da); read_ind(num, var, 0x3c0, 0x3c1); \ } while (0) -/* - * Exported functions - */ -int chips_init(void); - static int chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *); static int chipsfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info); @@ -498,7 +493,7 @@ static struct pci_driver chipsfb_driver = { #endif }; -int __init chips_init(void) +static int __init chips_init(void) { if (fb_get_options("chipsfb", NULL)) return -ENODEV; -- 2.25.1