Skip to contentSkip to conversation

mark arcnet_setup static

PATCH In review Christoph Hellwig 1 participant 2 messages Oct 24, 2004

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mark arcnet_setup static

drivers/net/arcnet/arcnet.c +1 -2
@@ -91,7 +91,6 @@
 EXPORT_SYMBOL(arc_proto_null);
 EXPORT_SYMBOL(arcnet_unregister_proto);
 EXPORT_SYMBOL(arcnet_debug);
-EXPORT_SYMBOL(arcdev_setup);
 EXPORT_SYMBOL(alloc_arcdev);
 EXPORT_SYMBOL(arcnet_interrupt);
 
@@ -305,7 +304,7 @@
 
 
 /* Setup a struct device for ARCnet. */
-void arcdev_setup(struct net_device *dev)
+static void arcdev_setup(struct net_device *dev)
 {
 	dev->type = ARPHRD_ARCNET;
 	dev->hard_header_len = sizeof(struct archdr);
#1 lore raw

also needs a header update, sorry:

include/linux/arcdevice.h +0 -1
@@ -330,7 +330,6 @@
 
 void arcnet_unregister_proto(struct ArcProto *proto);
 irqreturn_t arcnet_interrupt(int irq, void *dev_id, struct pt_regs *regs);
-void arcdev_setup(struct net_device *dev);
 struct net_device *alloc_arcdev(char *name);
 void arcnet_rx(struct net_device *dev, int bufnum);