patch-2.3.14 linux/net/x25/x25_link.c
Next file: linux/net/x25/x25_route.c
Previous file: linux/net/x25/x25_dev.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Wed Aug 18 11:38:49 1999
- Orig file:
v2.3.13/linux/net/x25/x25_link.c
- Orig date:
Sun Jul 26 23:35:58 1998
diff -u --recursive --new-file v2.3.13/linux/net/x25/x25_link.c linux/net/x25/x25_link.c
@@ -277,7 +277,7 @@
/*
* Add a new device.
*/
-void x25_link_device_up(struct device *dev)
+void x25_link_device_up(struct net_device *dev)
{
struct x25_neigh *x25_neigh;
unsigned long flags;
@@ -337,7 +337,7 @@
/*
* A device has been removed, remove its links.
*/
-void x25_link_device_down(struct device *dev)
+void x25_link_device_down(struct net_device *dev)
{
struct x25_neigh *neigh, *x25_neigh = x25_neigh_list;
@@ -353,7 +353,7 @@
/*
* Given a device, return the neighbour address.
*/
-struct x25_neigh *x25_get_neigh(struct device *dev)
+struct x25_neigh *x25_get_neigh(struct net_device *dev)
{
struct x25_neigh *x25_neigh;
@@ -371,7 +371,7 @@
{
struct x25_subscrip_struct x25_subscr;
struct x25_neigh *x25_neigh;
- struct device *dev;
+ struct net_device *dev;
switch (cmd) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)