speedtch usbatm.c,1.22,1.23

Duncan Sands duncan at infradead.org
Tue May 3 04:08:22 EDT 2005


Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv31355

Modified Files:
	usbatm.c 
Log Message:
Make sure the effect of DEBUG is felt in device.h, usb.h (the problem is:
what if one of the other header files we used to include first included
one of these, before DEBUG is defined?).


Index: usbatm.c
===================================================================
RCS file: /home/cvs/speedtch/usbatm.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- usbatm.c	3 May 2005 08:06:43 -0000	1.22
+++ usbatm.c	3 May 2005 08:08:19 -0000	1.23
@@ -62,6 +62,8 @@
  *
  */
 
+#include "usbatm.h"
+
 #include <asm/uaccess.h>
 #include <linux/crc32.h>
 #include <linux/errno.h>
@@ -79,8 +81,6 @@
 #include <linux/timer.h>
 #include <linux/wait.h>
 
-#include "usbatm.h"
-
 #ifdef VERBOSE_DEBUG
 static int usbatm_print_packet(const unsigned char *data, int len);
 #define PACKETDEBUG(arg...)	usbatm_print_packet (arg)




More information about the Usbatm-commits mailing list