Skip to content

Commit

Permalink
staging: ft1000: Remove unnecessary EXPORT_SYMBOLs
Browse files Browse the repository at this point in the history
 ft1000-pcmcia uses EXPORT_SYMBOL unnecessarily for sharing symbols
 inside the same module. For some reason, this is causing section
 conflicts on ia64 as well, even though neither are static.

 error: __ksymtab_stop_ft1000_card causes a section type conflict
 error: __ksymtab_init_ft1000_card causes a section type conflict

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jeff Mahoney authored and Greg Kroah-Hartman committed Apr 26, 2011
1 parent 1035117 commit 9f908a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2288,7 +2288,3 @@ struct net_device *init_ft1000_card(struct pcmcia_device *link,
free_netdev(dev);
return NULL;
}

EXPORT_SYMBOL(init_ft1000_card);
EXPORT_SYMBOL(stop_ft1000_card);
EXPORT_SYMBOL(flarion_ft1000_cnt);
3 changes: 0 additions & 3 deletions drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,3 @@ void ft1000CleanupProc(struct net_device *dev)
remove_proc_entry(FT1000_PROC, init_net.proc_net);
unregister_netdevice_notifier(&ft1000_netdev_notifier);
}

EXPORT_SYMBOL(ft1000InitProc);
EXPORT_SYMBOL(ft1000CleanupProc);

0 comments on commit 9f908a9

Please sign in to comment.