linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2 -tip] drm/i915: acpi/video.c fix section mismatch warning
@ 2009-05-20  6:26 Jaswinder Singh Rajput
  2009-05-20  6:27 ` [PATCH 2/2 -tip] drm/i915: intel_lvds.c " Jaswinder Singh Rajput
  2009-05-26 20:00 ` [PATCH 1/2 -tip] drm/i915: acpi/video.c " Len Brown
  0 siblings, 2 replies; 9+ messages in thread
From: Jaswinder Singh Rajput @ 2009-05-20  6:26 UTC (permalink / raw)
  To: Ingo Molnar, Eric Anholt, mjg, Sam Ravnborg, x86 maintainers,
	LKML


Currently acpi_video_exit() is exported as well as using __exit which causes:

  WARNING: drivers/acpi/video.o(__ksymtab+0x0): Section mismatch in reference from the variable __ksymtab_acpi_video_exit to the function .exit.text:acpi_video_exit()
  The symbol acpi_video_exit is exported and annotated __exit
  Fix this by removing the __exit annotation of acpi_video_exit or drop the export.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
---
 drivers/acpi/video.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 810cca9..a79b885 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -2334,7 +2334,7 @@ static int __init acpi_video_init(void)
 	return acpi_video_register();
 }
 
-void __exit acpi_video_exit(void)
+void acpi_video_exit(void)
 {
 
 	acpi_bus_unregister_driver(&acpi_video_bus);
-- 
1.6.1.1




^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-06-01 11:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-20  6:26 [PATCH 1/2 -tip] drm/i915: acpi/video.c fix section mismatch warning Jaswinder Singh Rajput
2009-05-20  6:27 ` [PATCH 2/2 -tip] drm/i915: intel_lvds.c " Jaswinder Singh Rajput
2009-05-28 15:00   ` Jarod Wilson
2009-05-29  6:16     ` Jaswinder Singh Rajput
2009-05-29 13:34       ` Jarod Wilson
2009-05-29 14:28         ` Jaswinder Singh Rajput
2009-06-01 10:53           ` Jesse Barnes
2009-06-01 11:25             ` Jaswinder Singh Rajput
2009-05-26 20:00 ` [PATCH 1/2 -tip] drm/i915: acpi/video.c " Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).