speedtch cxacru.c, 1.31, 1.32 speedtch.c, 1.62, 1.63 testatm.c, 1.5, 1.6 xusbatm.c, 1.11, 1.12

Duncan Sands duncan at infradead.org
Wed Sep 7 16:49:46 EDT 2005


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

Modified Files:
	cxacru.c speedtch.c testatm.c xusbatm.c 
Log Message:
If we define DEBUG, then make sure device.h sees it: otherwise dev_dbg
is a no-op and we lose some debugging output.  This requires including
usbatm.h before device.h.  It smells a bit (what happens if you use
precompiled headers?), but it gets the job done.


Index: cxacru.c
===================================================================
RCS file: /home/cvs/speedtch/cxacru.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- cxacru.c	11 Jun 2005 12:58:00 -0000	1.31
+++ cxacru.c	7 Sep 2005 20:49:42 -0000	1.32
@@ -27,6 +27,8 @@
  *  into usbatm), and the userspace firmware loading utility.
  */
 
+#include "usbatm.h"
+
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/kernel.h>
@@ -37,8 +39,6 @@
 #include <linux/device.h>	/* FIXME: linux/firmware.h should include it itself */
 #include <linux/firmware.h>
 
-#include "usbatm.h"
-
 #define DRIVER_AUTHOR	"Roman Kagan, David Woodhouse, Duncan Sands"
 #define DRIVER_VERSION	"0.2"
 #define DRIVER_DESC	"Conexant AccessRunner ADSL USB modem driver"

Index: speedtch.c
===================================================================
RCS file: /home/cvs/speedtch/speedtch.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- speedtch.c	2 Sep 2005 11:45:11 -0000	1.62
+++ speedtch.c	7 Sep 2005 20:49:42 -0000	1.63
@@ -23,6 +23,8 @@
  *
  ******************************************************************************/
 
+#include "usbatm.h"
+
 #include <asm/page.h>
 #include <linux/device.h>
 #include <linux/errno.h>
@@ -37,8 +39,6 @@
 #include <linux/timer.h>
 #include <linux/workqueue.h>
 
-#include "usbatm.h"
-
 #define DRIVER_AUTHOR	"Johan Verrept, Duncan Sands <duncan.sands at free.fr>"
 #define DRIVER_VERSION	"1.9"
 #define DRIVER_DESC	"Alcatel SpeedTouch USB driver version " DRIVER_VERSION

Index: testatm.c
===================================================================
RCS file: /home/cvs/speedtch/testatm.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- testatm.c	7 Apr 2005 22:16:18 -0000	1.5
+++ testatm.c	7 Sep 2005 20:49:42 -0000	1.6
@@ -17,11 +17,11 @@
  *
  ******************************************************************************/
 
+#include "usbatm.h"
+
 #include <linux/delay.h>
 #include <linux/module.h>
 
-#include "usbatm.h"
-
 uint	driver;
 module_param(driver, uint, 0444);
 

Index: xusbatm.c
===================================================================
RCS file: /home/cvs/speedtch/xusbatm.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- xusbatm.c	22 Apr 2005 07:07:39 -0000	1.11
+++ xusbatm.c	7 Sep 2005 20:49:42 -0000	1.12
@@ -19,12 +19,12 @@
  *
  ******************************************************************************/
 
+#include "usbatm.h"
+
 #include <linux/module.h>
 #include <linux/netdevice.h>		/* FIXME: required by linux/etherdevice.h */
 #include <linux/etherdevice.h>		/* for random_ether_addr() */
 
-#include "usbatm.h"
-
 
 #define XUSBATM_DRIVERS_MAX	8
 




More information about the Usbatm-commits mailing list