From: Antonio Ospite <ospite@studenti.unina.it>
Date: Thu, 21 Apr 2011 09:38:43 +0000 (+0200)
Subject: Support unloading the module built from the full kernel
X-Git-Url: https://git.ao2.it/gspca_kinect.git/commitdiff_plain/HEAD?ds=sidebyside;hp=f5a99617c62f84c42defbc3d0cdcbb4c858f9c51

Support unloading the module built from the full kernel

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
---

diff --git a/Makefile b/Makefile
index 9629b26..df59efe 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,7 @@ clean:
 
 unload:
 	-sudo rmmod kinect
+	-sudo rmmod gspca_kinect
 	-sudo rmmod gspca_main
 load: all
 	sudo modprobe gspca_main