add missing #include
[openwrt.git] / package / madwifi / patches / 322-dev_info_fixes.patch
1 Index: madwifi-trunk-r3280/ath/if_ath_ahb.c
2 ===================================================================
3 --- madwifi-trunk-r3280.orig/ath/if_ath_ahb.c 2008-01-28 17:51:21.800747500 +0100
4 +++ madwifi-trunk-r3280/ath/if_ath_ahb.c 2008-01-28 17:51:23.700855785 +0100
5 @@ -31,6 +31,15 @@
6 #include "ah_devid.h"
7 #include "if_ath_ahb.h"
8 #include "ah_soc.h"
9 +/*
10 + * Module glue.
11 + */
12 +#include "release.h"
13 +static char *version = RELEASE_VERSION;
14 +static char *dev_info = "ath_ahb";
15 +
16 +#include <linux/ethtool.h>
17 +
18
19 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
20 #error "Kernel versions older than 2.6.19 are not supported!"
21 @@ -303,15 +312,6 @@
22 .remove = ahb_wmac_remove
23 };
24
25 -/*
26 - * Module glue.
27 - */
28 -#include "release.h"
29 -static char *version = RELEASE_VERSION;
30 -static char *dev_info = "ath_ahb";
31 -
32 -#include <linux/ethtool.h>
33 -
34 int
35 ath_ioctl_ethtool(struct ath_softc *sc, int cmd, void __user *addr)
36 {
This page took 0.056062 seconds and 5 git commands to generate.