diff options
Diffstat (limited to 'drivers/dahdi/dahdi-base.c')
-rw-r--r-- | drivers/dahdi/dahdi-base.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c index 02850fc..e9316a8 100644 --- a/drivers/dahdi/dahdi-base.c +++ b/drivers/dahdi/dahdi-base.c @@ -47,17 +47,6 @@ #include <linux/moduleparam.h> #include <linux/list.h> -#ifdef CONFIG_DAHDI_NET -#include <linux/netdevice.h> -#endif /* CONFIG_DAHDI_NET */ - -#include <linux/ppp_defs.h> -#ifdef CONFIG_DAHDI_PPP -#include <linux/netdevice.h> -#include <linux/if.h> -#include <linux/if_ppp.h> -#endif - #include <asm/atomic.h> #define module_printk(level, fmt, args...) printk(level "%s: " fmt, THIS_MODULE->name, ## args) @@ -82,6 +71,18 @@ #include <dahdi/kernel.h> #include "ecdis.h" +#ifdef CONFIG_DAHDI_NET +#include <linux/netdevice.h> +#endif /* CONFIG_DAHDI_NET */ + +#include <linux/ppp_defs.h> + +#ifdef CONFIG_DAHDI_PPP +#include <linux/netdevice.h> +#include <linux/if.h> +#include <linux/if_ppp.h> +#endif + #include "hpec/hpec_user.h" /* Get helper arithmetic */ @@ -1783,7 +1784,7 @@ static int dahdi_ppp_xmit(struct ppp_channel *ppp, struct sk_buff *skb) int x,oldbuf; unsigned int fcs; unsigned char *data; - long flags; + unsigned long flags; int retval = 0; /* See if we have any buffers */ |