summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-06-11 15:32:06 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-07-21 16:41:46 +0200
commit2f8df2a003a22e8b7397e51ac5f1796db920d579 (patch)
treef92f130a7a4522e6391174a02fdb3d82ba44e080 /include/net.h
parent56139274fda2ce914860a978d32d79bd43099ae1 (diff)
downloadbarebox-2f8df2a003a22e8b7397e51ac5f1796db920d579.tar.gz
barebox-2f8df2a003a22e8b7397e51ac5f1796db920d579.tar.xz
add a device_d to ethernet devices
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h
index 476124ad7e..93bf4616c3 100644
--- a/include/net.h
+++ b/include/net.h
@@ -12,6 +12,7 @@
#ifndef __NET_H__
#define __NET_H__
+#include <driver.h>
#include <linux/types.h>
#include <param.h>
#include <asm/byteorder.h> /* for nton* / ntoh* stuff */
@@ -75,7 +76,7 @@ struct eth_device {
struct param_d param_serverip;
struct param_d param_ethaddr;
- struct device_d *dev;
+ struct device_d dev;
struct list_head list;
};