summaryrefslogtreecommitdiff
path: root/include/net/irda/timer.h
diff options
context:
space:
mode:
authorJean Tourrilhes <jt@hpl.hp.com>2002-06-18 14:13:30 -0400
committerLinus Torvalds <torvalds@home.transmeta.com>2002-06-18 14:13:30 -0400
commitffdaa8c00313bf343eebed43b7605b7bca002d1a (patch)
tree6e35aba6f0d355da5c71f94b2c68bcd5076276d6 /include/net/irda/timer.h
parent26d0a7eeb8f5807e6e4794ce4fcb1ff38b4e173a (diff)
IrDA update 2/2: big header and initcall cleanup
o [FEATURE] Use new kernel init/exit style, should fix static builds o [FEATURE] Reduce header dependancies Before After net/irda/.depend 14917 13617 B drivers/net/irda/.depend 16134 14293 B irda full recompile 3'13 3'10
Diffstat (limited to 'include/net/irda/timer.h')
-rw-r--r--include/net/irda/timer.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/net/irda/timer.h b/include/net/irda/timer.h
index ba648b9b9443..84d339480ddc 100644
--- a/include/net/irda/timer.h
+++ b/include/net/irda/timer.h
@@ -11,7 +11,7 @@
*
* Copyright (c) 1997, 1998-1999 Dag Brattli <dagb@cs.uit.no>,
* All Rights Reserved.
- * Copyright (c) 2000-2001 Jean Tourrilhes <jt@hpl.hp.com>
+ * Copyright (c) 2000-2002 Jean Tourrilhes <jt@hpl.hp.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -27,15 +27,17 @@
#ifndef TIMER_H
#define TIMER_H
-#include <linux/netdevice.h>
+#include <linux/timer.h>
#include <asm/param.h> /* for HZ */
#include <net/irda/irda.h>
-#include <net/irda/irmod.h>
-#include <net/irda/irlap.h>
-#include <net/irda/irlmp.h>
-#include <net/irda/irda_device.h>
+
+/* A few forward declarations (to make compiler happy) */
+struct irlmp_cb;
+struct irlap_cb;
+struct lsap_cb;
+struct lap_cb;
/*
* Timeout definitions, some defined in IrLAP p. 92
@@ -81,8 +83,6 @@ inline void irlap_start_backoff_timer(struct irlap_cb *self, int timeout);
void irlap_start_mbusy_timer(struct irlap_cb *self, int timeout);
void irlap_stop_mbusy_timer(struct irlap_cb *);
-struct lsap_cb;
-struct lap_cb;
inline void irlmp_start_watchdog_timer(struct lsap_cb *, int timeout);
inline void irlmp_start_discovery_timer(struct irlmp_cb *, int timeout);
inline void irlmp_start_idle_timer(struct lap_cb *, int timeout);