summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/sir_dongle.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-10 13:10:02 -0800
committerDavid S. Miller <davem@davemloft.net>2006-01-10 13:10:02 -0800
commit214ad78437544b20c3c0d5c2acb24650ce6e4db8 (patch)
tree3e4b62bb43fb36bc0f1151038c1f458ff8f43fbc /drivers/net/irda/sir_dongle.c
parent79a34648e488a41be92369c72aa9784bd4d741f9 (diff)
downloadop-kernel-dev-214ad78437544b20c3c0d5c2acb24650ce6e4db8.zip
op-kernel-dev-214ad78437544b20c3c0d5c2acb24650ce6e4db8.tar.gz
[IRDA]: kill drivers/net/irda/sir_core.c
EXPORT_SYMBOL's do nowadays belong to the files where the actual functions are. Moving the module_init/module_exit to the file with the actual functions has the advantage of saving a few bytes due to the removal of two functions. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Jean Tourrilhes <jt@hpl.hp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/sir_dongle.c')
-rw-r--r--drivers/net/irda/sir_dongle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/irda/sir_dongle.c b/drivers/net/irda/sir_dongle.c
index c5b7674..8d22592 100644
--- a/drivers/net/irda/sir_dongle.c
+++ b/drivers/net/irda/sir_dongle.c
@@ -50,6 +50,7 @@ int irda_register_dongle(struct dongle_driver *new)
up(&dongle_list_lock);
return 0;
}
+EXPORT_SYMBOL(irda_register_dongle);
int irda_unregister_dongle(struct dongle_driver *drv)
{
@@ -58,6 +59,7 @@ int irda_unregister_dongle(struct dongle_driver *drv)
up(&dongle_list_lock);
return 0;
}
+EXPORT_SYMBOL(irda_unregister_dongle);
int sirdev_get_dongle(struct sir_dev *dev, IRDA_DONGLE type)
{
OpenPOWER on IntegriCloud