Ben Dooks 2fab35d78f [NET]: Fix GCC4 compile error: sysctl in linux/if_ether.h
The following is generated when compiling a
recent (2.6.14-rc2-git5) kernel configured for
ARM, with GCC4. 

  CC      init/main.o
In file included from include/linux/netdevice.h:29,
                 from include/net/sock.h:48,
                 from init/main.c:50:
include/linux/if_ether.h:114: error: array type has incomplete element type

It seems that if CONFIG_SYSCTL is not set, then
the compiler will throw an error due to the definition
of the ether_table[] array

Attached is a solution to the problem

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-09-27 15:59:43 -07:00
..
2005-09-13 08:22:31 -07:00
2005-09-10 10:06:21 -07:00
2005-09-10 10:16:27 -07:00
2005-09-26 15:06:50 -07:00
2005-09-13 08:22:32 -07:00
2005-09-09 13:57:55 -07:00
2005-09-13 08:22:32 -07:00
2005-09-19 15:41:28 -07:00
2005-09-09 20:14:47 -05:00
2005-09-10 10:06:21 -07:00
2005-09-17 11:50:02 -07:00
2005-09-27 15:24:13 -07:00
2005-09-13 08:22:31 -07:00
2005-09-09 13:57:54 -07:00
2005-09-09 13:57:54 -07:00
2005-09-13 08:22:29 -07:00
2005-09-10 10:06:26 -07:00
2005-09-10 10:06:21 -07:00
2005-09-10 10:06:21 -07:00
2005-09-18 00:18:32 -07:00
2005-09-10 10:06:36 -07:00
2005-09-09 13:57:58 -07:00