diff options
author | Jaswinder Singh Rajput <jaswinder@kernel.org> | 2009-05-20 08:26:08 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-05-30 03:26:25 +0200 |
commit | 1fc8d33acafe68bdcc21b327d22ef3820b819727 (patch) | |
tree | 091f2ed85f922773bb14007aa678c8465b35e1e5 /drivers/acpi | |
parent | Merge git://git.infradead.org/~dwmw2/mtd-2.6.30 (diff) | |
download | linux-1fc8d33acafe68bdcc21b327d22ef3820b819727.tar.xz linux-1fc8d33acafe68bdcc21b327d22ef3820b819727.zip |
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | 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 810cca90ca7f..a79b88535266 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); |