]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/os-Linux/drivers/ethertap_user.c
Pull trivial into test branch
[linux-2.6-omap-h63xx.git] / arch / um / os-Linux / drivers / ethertap_user.c
index 8f49507e64ef5ac0091fe22189bea6413e427469..863981ba14687684ab8bcbae3d7606945468afeb 100644 (file)
@@ -20,6 +20,7 @@
 #include "net_user.h"
 #include "etap.h"
 #include "os.h"
+#include "um_malloc.h"
 
 #define MAX_PACKET ETH_MAX_PACKET
 
@@ -216,7 +217,7 @@ static void etap_del_addr(unsigned char *addr, unsigned char *netmask,
        etap_close_addr(addr, netmask, &pri->control_fd);
 }
 
-struct net_user_info ethertap_user_info = {
+const struct net_user_info ethertap_user_info = {
        .init           = etap_user_init,
        .open           = etap_open,
        .close          = etap_close,