summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2003-08-15 18:09:42 -0700
committerStephen Hemminger <shemminger@osdl.org>2003-08-15 18:09:42 -0700
commitbd07d52e74b32fcba9538307369de1f3a86996ce (patch)
treee517c35d58bf039107ef6330d7fb7cf9c16daebc /include/net
parentee105769c36b78ca603ac3b0548b818b90a2482c (diff)
[IRDA]: irda_device_setup should match ether_setup.
irda_device_setup signature should match ether_setup so it can be used with alloc_netdev. No caller was checking the return value anyway.
Diffstat (limited to 'include/net')
-rw-r--r--include/net/irda/irda_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/irda/irda_device.h b/include/net/irda/irda_device.h
index 72fca5622438..a871de37d949 100644
--- a/include/net/irda/irda_device.h
+++ b/include/net/irda/irda_device.h
@@ -222,7 +222,7 @@ int irda_device_txqueue_empty(struct net_device *dev);
int irda_device_set_raw_mode(struct net_device* self, int status);
int irda_device_set_dtr_rts(struct net_device *dev, int dtr, int rts);
int irda_device_change_speed(struct net_device *dev, __u32 speed);
-int irda_device_setup(struct net_device *dev);
+void irda_device_setup(struct net_device *dev);
/* Dongle interface */
void irda_device_unregister_dongle(struct dongle_reg *dongle);