]> err.no Git - linux-2.6/commitdiff
Don't include <linux/spinlock.h> from user-visible part of linux/wanrouter.h
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 14:00:56 +0000 (15:00 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 14:00:56 +0000 (15:00 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/wanrouter.h

index 1b6b76a4eb540c815da474250b58e28ce4688e92..2cd05013edfc19e78ae954eb1b1e5abe783674dc 100644 (file)
@@ -44,8 +44,6 @@
 * Jan 02, 1997 Gene Kozin      Initial version (based on wanpipe.h).
 *****************************************************************************/
 
-#include <linux/spinlock.h>       /* Support for SMP Locking */
-
 #ifndef        _ROUTER_H
 #define        _ROUTER_H
 
@@ -457,6 +455,8 @@ typedef struct wanif_conf
 #include <linux/fs.h>          /* support for device drivers */
 #include <linux/proc_fs.h>     /* proc filesystem pragmatics */
 #include <linux/netdevice.h>   /* support for network drivers */
+#include <linux/spinlock.h>     /* Support for SMP Locking */
+
 /*----------------------------------------------------------------------------
  * WAN device data space.
  */