atyfb_base.c: fix warning

drivers/video/aty/atyfb_base.c:2663: warning: 'aty_resume_chip' defined
but not used

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Cc: Ville Syrjala <syrjala@sci.fi>
Cc: Antonino A. Daplas <adaplas@pol.net>
Cc: Mark Asselstine <asselsm@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Alexander Beregalov and committed by Linus Torvalds 978cc90c 5394ba0f

+15 -14
+15 -14
drivers/video/aty/atyfb_base.c
··· 244 244 */ 245 245 246 246 static int aty_init(struct fb_info *info); 247 - static void aty_resume_chip(struct fb_info *info); 247 + 248 248 #ifdef CONFIG_ATARI 249 249 static int store_video_par(char *videopar, unsigned char m64_num); 250 250 #endif ··· 2023 2023 return 0; 2024 2024 } 2025 2025 2026 + static void aty_resume_chip(struct fb_info *info) 2027 + { 2028 + struct atyfb_par *par = info->par; 2029 + 2030 + aty_st_le32(MEM_CNTL, par->mem_cntl, par); 2031 + 2032 + if (par->pll_ops->resume_pll) 2033 + par->pll_ops->resume_pll(info, &par->pll); 2034 + 2035 + if (par->aux_start) 2036 + aty_st_le32(BUS_CNTL, 2037 + aty_ld_le32(BUS_CNTL, par) | BUS_APER_REG_DIS, par); 2038 + } 2039 + 2026 2040 static int atyfb_pci_resume(struct pci_dev *pdev) 2027 2041 { 2028 2042 struct fb_info *info = pci_get_drvdata(pdev); ··· 2671 2657 } 2672 2658 #endif 2673 2659 return ret; 2674 - } 2675 - 2676 - static void aty_resume_chip(struct fb_info *info) 2677 - { 2678 - struct atyfb_par *par = info->par; 2679 - 2680 - aty_st_le32(MEM_CNTL, par->mem_cntl, par); 2681 - 2682 - if (par->pll_ops->resume_pll) 2683 - par->pll_ops->resume_pll(info, &par->pll); 2684 - 2685 - if (par->aux_start) 2686 - aty_st_le32(BUS_CNTL, aty_ld_le32(BUS_CNTL, par) | BUS_APER_REG_DIS, par); 2687 2660 } 2688 2661 2689 2662 #ifdef CONFIG_ATARI