compat: backport init_dummy_netdev
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 17 Aug 2010 18:32:31 +0000 (20:32 +0200)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 17 Aug 2010 22:01:04 +0000 (15:01 -0700)
commit042761265f52bb6647fa6cf608c90d0e4c9f45b8
treeb502a72e12279a205106666b4cb11b75434528f8
parent82eaf999cdb8a00eebbeba3bdc41dec85f1e9ce1
compat: backport init_dummy_netdev

NETREG_DUMMY is not available for older kernels, it should be set to
something not normal. NETREG_DUMMY is set to 5 in new kernel versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
compat/compat-2.6.29.c
include/linux/compat-2.6.29.h