drm/i915: acpi/video.c fix section mismatch warning
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Wed, 20 May 2009 06:26:08 +0000 (11:56 +0530)
committerLen Brown <len.brown@intel.com>
Sat, 30 May 2009 01:26:25 +0000 (21:26 -0400)
commit1fc8d33acafe68bdcc21b327d22ef3820b819727
tree091f2ed85f922773bb14007aa678c8465b35e1e5
parent3218911f839b6c85acbf872ad264ea69aa4d89ad
drm/i915: acpi/video.c fix section mismatch warning

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>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c