diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-04-10 18:03:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-07 19:58:04 -0400 |
commit | bb6ce8b28d97f39c591e94322e3ad28ff22649b2 (patch) | |
tree | f56fbf53576fc1dea3bc38711359b4ecba36a484 | |
parent | 5ebe6afaf0057ac3eaeb98defd5456894b446d22 (diff) |
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>
-rw-r--r-- | drivers/staging/sm750fb/sm750.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 3c7ea95dd9f9..dbbb2f879a29 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c | |||
@@ -1250,7 +1250,7 @@ err_enable: | |||
1250 | return -ENODEV; | 1250 | return -ENODEV; |
1251 | } | 1251 | } |
1252 | 1252 | ||
1253 | static void __exit lynxfb_pci_remove(struct pci_dev *pdev) | 1253 | static void lynxfb_pci_remove(struct pci_dev *pdev) |
1254 | { | 1254 | { |
1255 | struct fb_info *info; | 1255 | struct fb_info *info; |
1256 | struct lynx_share *share; | 1256 | struct lynx_share *share; |