From 08cf584af3dd34a624afb5060e369ba23c3e3bc0 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 13 Aug 2001 11:07:13 +0000 Subject: [PATCH] Fix symbol leaks --- comedi/drivers/8255.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/comedi/drivers/8255.c b/comedi/drivers/8255.c index 78f784f9..1322985b 100644 --- a/comedi/drivers/8255.c +++ b/comedi/drivers/8255.c @@ -65,12 +65,13 @@ struct subdev_8255_struct{ static int dev_8255_attach(comedi_device * dev, comedi_devconfig * it); static int dev_8255_detach(comedi_device * dev); -comedi_driver driver_8255={ +static comedi_driver driver_8255={ driver_name: "8255", module: THIS_MODULE, attach: dev_8255_attach, detach: dev_8255_detach, }; +COMEDI_INITCLEANUP(driver_8255); static void do_config(comedi_device *dev,comedi_subdevice *s); @@ -260,5 +261,7 @@ static int dev_8255_detach(comedi_device *dev) return 0; } -COMEDI_INITCLEANUP(driver_8255); + +EXPORT_SYMBOL(subdev_8255_init); +EXPORT_SYMBOL(subdev_8255_cleanup); -- 2.26.2