Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=825d0a97f3b9031235b1ee77b1e22fec15c758ba
Commit:     825d0a97f3b9031235b1ee77b1e22fec15c758ba
Parent:     125e1137cd2d93377028f521801d916729485733
Author:     Prarit Bhargava <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:37:10 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:15:26 2007 -0700

    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 <[EMAIL PROTECTED]>
    Acked-by: James Simmons <[EMAIL PROTECTED]>
    Cc: "Antonino A. Daplas" <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/video/riva/fbdev.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c
index d7ece8d..a37189a 100644
--- a/drivers/video/riva/fbdev.c
+++ b/drivers/video/riva/fbdev.c
@@ -2104,7 +2104,7 @@ err_ret:
        return ret;
 }
 
-static void __exit rivafb_remove(struct pci_dev *pd)
+static void __devexit rivafb_remove(struct pci_dev *pd)
 {
        struct fb_info *info = pci_get_drvdata(pd);
        struct riva_par *par = info->par;
@@ -2185,7 +2185,7 @@ static struct pci_driver rivafb_driver = {
        .name           = "rivafb",
        .id_table       = rivafb_pci_tbl,
        .probe          = rivafb_probe,
-       .remove         = __exit_p(rivafb_remove),
+       .remove         = __devexit_p(rivafb_remove),
 };
 
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to