can: Free I/O region when unloading the xeno_can_isa.ko driver Signed-off-by: Sebastian Smolorz <smol...@rts.uni-hannover.de>
diff --git a/ksrc/drivers/can/sja1000/rtcan_isa.c b/ksrc/drivers/can/sja1000/rtcan_isa.c index 6debb16..ec32393 100644 --- a/ksrc/drivers/can/sja1000/rtcan_isa.c +++ b/ksrc/drivers/can/sja1000/rtcan_isa.c @@ -1,8 +1,8 @@ /* * Copyright (C) 2006 Wolfgang Grandegger <w...@grandegger.com> * - * Copyright (C) 2005, 2006 Sebastian Smolorz - * <sebastian.smol...@stud.uni-hannover.de> + * Copyright (C) 2005, 2006, 2009 Sebastian Smolorz + * <smol...@rts.uni-hannover.de> * * * This program is free software; you can redistribute it and/or modify it @@ -189,6 +189,7 @@ static void rtcan_isa_exit(void) if (!dev) continue; rtcan_sja1000_unregister(dev); + release_region(io[i], RTCAN_ISA_PORT_SIZE); rtcan_dev_free(dev); } }
_______________________________________________ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core