[PATCH 7/11] radeonfb: Fix init/exit section usage

DORMANTno replies

From: Antonino A. Daplas <hidden>
Date: 2005-01-13 21:47:01

  Fix 3 instances of calling exit section function from text or init:
  Error: ./drivers/video/aty/radeon_base.o .text refers to 000029e5
  R_386_PC32        .exit.text
  Error: ./drivers/video/aty/radeon_base.o .text refers to 00002a60
  R_386_PC32        .exit.text
  Error: ./drivers/video/aty/radeon_base.o .init.text refers to 00000192
  R_386_PC32        .exit.text

Signed-off-by: Randy Dunlap <redacted>
Signed-off-by: Antonino Daplas <redacted>
---

 radeon_base.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Nru a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c
--- a/drivers/video/aty/radeon_base.c	2005-01-12 06:10:17 +08:00
+++ b/drivers/video/aty/radeon_base.c	2005-01-08 02:30:17 +08:00
@@ -261,7 +261,7 @@
 
 #endif /* CONFIG_PPC_OF */
 
-static void __devexit radeon_unmap_ROM(struct radeonfb_info *rinfo, struct pci_dev *dev)
+static void radeon_unmap_ROM(struct radeonfb_info *rinfo, struct pci_dev *dev)
 {
 	if (!rinfo->bios_seg)
 		return;




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help