From e0b832a1ed36184e84566d2894fb92275b075b65 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 25 Oct 2018 18:06:42 -0500 Subject: Use the correct setup function in mtac_gpiob_exit --- mtac_gpiob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mtac_gpiob.c b/mtac_gpiob.c index 5230670..4aaecaf 100644 --- a/mtac_gpiob.c +++ b/mtac_gpiob.c @@ -1,4 +1,4 @@ -#define DRIVER_VERSION "v1.1.0" +#define DRIVER_VERSION "v1.1.1" #define DRIVER_AUTHOR "John Klug " #define DRIVER_DESC "MTS General Purpose I/O Accessory Card" #define DRIVER_NAME "mtac-gpiob" @@ -785,7 +785,7 @@ static int __init mtac_gpiob_init(void) /* We can only tear down our own device */ static void __exit mtac_gpiob_exit(void) { - mtac_free(PRODUCT_ID_MTAC_GPIOB,eth_gpiob,"gpiob"); + mtac_free(PRODUCT_ID_MTAC_GPIOB,gpiob_setup,"gpiob"); log_info("exiting"); } -- cgit v1.2.3