Commit 9db52e2f authored by Antonino Daplas's avatar Antonino Daplas Committed by Linus Torvalds

[PATCH] radeonfb: Fix init/exit section usage

  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: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b8c46e79
...@@ -261,7 +261,7 @@ static struct backlight_controller radeon_backlight_controller = { ...@@ -261,7 +261,7 @@ static struct backlight_controller radeon_backlight_controller = {
#endif /* CONFIG_PPC_OF */ #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) if (!rinfo->bios_seg)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment