Skip to content

Commit

Permalink
staging: sm750: remove incorrect __exit annotation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann authored and Greg Kroah-Hartman committed May 7, 2015
1 parent 5ebe6af commit bb6ce8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/sm750fb/sm750.c
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ static int lynxfb_pci_probe(struct pci_dev *pdev,
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 lynx_share *share;
Expand Down

0 comments on commit bb6ce8b

Please sign in to comment.