]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/qe/uec.c
driver/qe: use strncpy instead of strcpy
[karo-tx-uboot.git] / drivers / qe / uec.c
index 68045733b8b8c223ceef99b132181e8124fe1e60..e0ab04abc27a6352cdd271e7a6547cca67a3d4cb 100644 (file)
@@ -11,7 +11,7 @@
 #include "malloc.h"
 #include "asm/errno.h"
 #include "asm/io.h"
-#include "asm/immap_qe.h"
+#include "linux/immap_qe.h"
 #include "qe.h"
 #include "uccf.h"
 #include "uec.h"
@@ -1333,7 +1333,7 @@ static int uec_recv(struct eth_device* dev)
                if (!(status & RxBD_ERROR)) {
                        data = BD_DATA(bd);
                        len = BD_LENGTH(bd);
-                       NetReceive(data, len);
+                       net_process_received_packet(data, len);
                } else {
                        printf("%s: Rx error\n", dev->name);
                }