Merge tag 'platform-drivers-x86-v6.5-1' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / drivers / platform / x86 / intel / speed_select_if / isst_if_common.c
index 02fe360..1f59ac5 100644 (file)
@@ -829,6 +829,7 @@ void isst_if_cdev_unregister(int device_type)
 {
        isst_misc_unreg();
        mutex_lock(&punit_misc_dev_open_lock);
+       punit_callbacks[device_type].def_ioctl = NULL;
        punit_callbacks[device_type].registered = 0;
        if (device_type == ISST_IF_DEV_MBOX)
                isst_delete_hash();