aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/riva/fbdev.c
diff options
context:
space:
mode:
authorPrarit Bhargava <prarit@redhat.com>2007-05-08 03:37:10 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:26 -0400
commit825d0a97f3b9031235b1ee77b1e22fec15c758ba (patch)
treee994a8c88e71a0bd90d672cf65b8df1237ce4bc7 /drivers/video/riva/fbdev.c
parent125e1137cd2d93377028f521801d916729485733 (diff)
change rivafb_remove to __devexit
Change rivafb_remove to __deviexit to fix MODPOST warnings: WARNING: drivers/video/riva/rivafb.o - Section mismatch: reference to .exit.text:rivafb_remove from .data.rel.local after 'rivafb_driver' (at offset 0x28) Signed-off-by: Prarit Bhargava <prarit@redhat.com> Acked-by: James Simmons <jsimmons@infradead.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/riva/fbdev.c')
-rw-r--r--drivers/video/riva/fbdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c
index d7ece8d17a2c..a37189a227ac 100644
--- a/drivers/video/riva/fbdev.c
+++ b/drivers/video/riva/fbdev.c
@@ -2104,7 +2104,7 @@ err_ret:
2104 return ret; 2104 return ret;
2105} 2105}
2106 2106
2107static void __exit rivafb_remove(struct pci_dev *pd) 2107static void __devexit rivafb_remove(struct pci_dev *pd)
2108{ 2108{
2109 struct fb_info *info = pci_get_drvdata(pd); 2109 struct fb_info *info = pci_get_drvdata(pd);
2110 struct riva_par *par = info->par; 2110 struct riva_par *par = info->par;
@@ -2185,7 +2185,7 @@ static struct pci_driver rivafb_driver = {
2185 .name = "rivafb", 2185 .name = "rivafb",
2186 .id_table = rivafb_pci_tbl, 2186 .id_table = rivafb_pci_tbl,
2187 .probe = rivafb_probe, 2187 .probe = rivafb_probe,
2188 .remove = __exit_p(rivafb_remove), 2188 .remove = __devexit_p(rivafb_remove),
2189}; 2189};
2190 2190
2191 2191