2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00

staging: sm750: remove incorrect __exit annotation

The lynxfb_pci_remove function is used as the 'remove' callback
of the driver, and must not be discarded:

lynxfb_pci_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o

This removes the extraneous annotation.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Arnd Bergmann 2015-04-11 00:03:19 +02:00 committed by Greg Kroah-Hartman
parent 5ebe6afaf0
commit bb6ce8b28d

View File

@ -1250,7 +1250,7 @@ err_enable:
return -ENODEV; return -ENODEV;
} }
static void __exit lynxfb_pci_remove(struct pci_dev *pdev) static void lynxfb_pci_remove(struct pci_dev *pdev)
{ {
struct fb_info *info; struct fb_info *info;
struct lynx_share *share; struct lynx_share *share;