patch-2.2.18 linux/drivers/char/radio-cadet.c

Next file: linux/drivers/char/radio-maestro.c
Previous file: linux/drivers/char/qpmouse.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/char/radio-cadet.c linux/drivers/char/radio-cadet.c
@@ -548,7 +548,7 @@
 {
 #ifndef MODULE        
         if(cadet_probe()<0) {
-	        return EINVAL;
+	        return -EINVAL;
 	}
 #endif
 	if(video_register_device(&cadet_radio,VFL_TYPE_RADIO)==-1)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)