public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH] mark arcnet_setup static
@ 2004-10-24 13:18 Christoph Hellwig
  2004-10-24 13:20 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2004-10-24 13:18 UTC (permalink / raw)
  To: davem; +Cc: netdev


--- 1.19/drivers/net/arcnet/arcnet.c	2004-09-23 22:10:54 +02:00
+++ edited/drivers/net/arcnet/arcnet.c	2004-10-23 16:09:36 +02:00
@@ -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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mark arcnet_setup static
  2004-10-24 13:18 [PATCH] mark arcnet_setup static Christoph Hellwig
@ 2004-10-24 13:20 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2004-10-24 13:20 UTC (permalink / raw)
  To: davem; +Cc: netdev

also needs a header update, sorry:

--- 1.7/include/linux/arcdevice.h	2004-10-05 22:16:18 +02:00
+++ edited/include/linux/arcdevice.h	2004-10-23 16:09:24 +02:00
@@ -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);
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-24 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-24 13:18 [PATCH] mark arcnet_setup static Christoph Hellwig
2004-10-24 13:20 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox