Skip to content

Commit

Permalink
drm/i915: acpi/video.c fix section mismatch warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jaswinder Singh Rajput authored and Len Brown committed May 30, 2009
1 parent 3218911 commit 1fc8d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1fc8d33

Please sign in to comment.