arcnet: Move files out of include/linux
These #include files don't need to be in the include/linux directory as they can be local to drivers/net/arcnet/ Move them and update the #include statements. Update the MAINTAINERS file pattern by deleting arcdevice from the NETWORKING block as arcnet is currently unmaintained. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
This commit is contained in:
parent
d6d7d3ed56
commit
26c6d28168
|
@ -7292,7 +7292,6 @@ S: Odd Fixes
|
|||
F: drivers/net/
|
||||
F: include/linux/if_*
|
||||
F: include/linux/netdevice.h
|
||||
F: include/linux/arcdevice.h
|
||||
F: include/linux/etherdevice.h
|
||||
F: include/linux/fcdevice.h
|
||||
F: include/linux/fddidevice.h
|
||||
|
|
|
@ -33,7 +33,8 @@
|
|||
#include <net/arp.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/skbuff.h>
|
||||
#include <linux/arcdevice.h>
|
||||
|
||||
#include "arcdevice.h"
|
||||
|
||||
static void rx(struct net_device *dev, int bufnum,
|
||||
struct archdr *pkthdr, int length);
|
||||
|
|
|
@ -37,7 +37,8 @@
|
|||
#include <linux/init.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/arcdevice.h>
|
||||
|
||||
#include "arcdevice.h"
|
||||
|
||||
/* Internal function declarations */
|
||||
|
||||
|
|
|
@ -50,9 +50,10 @@
|
|||
#include <linux/if_arp.h>
|
||||
#include <net/arp.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/arcdevice.h>
|
||||
#include <linux/jiffies.h>
|
||||
|
||||
#include "arcdevice.h"
|
||||
|
||||
/* "do nothing" functions for protocol drivers */
|
||||
static void null_rx(struct net_device *dev, int bufnum,
|
||||
struct archdr *pkthdr, int length);
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
#include <net/arp.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/skbuff.h>
|
||||
#include <linux/arcdevice.h>
|
||||
|
||||
#include "arcdevice.h"
|
||||
|
||||
/* packet receiver */
|
||||
static void rx(struct net_device *dev, int bufnum,
|
||||
|
|
|
@ -39,11 +39,11 @@
|
|||
#include <linux/init.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/bootmem.h>
|
||||
#include <linux/arcdevice.h>
|
||||
#include <linux/com20020.h>
|
||||
|
||||
#include <linux/io.h>
|
||||
|
||||
#include "arcdevice.h"
|
||||
#include "com20020.h"
|
||||
|
||||
/* We cannot (yet) probe for an IO mapped card, although we can check that
|
||||
* it's where we were told it was, and even do autoirq.
|
||||
*/
|
||||
|
|
|
@ -39,12 +39,12 @@
|
|||
#include <linux/init.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/pci.h>
|
||||
#include <linux/arcdevice.h>
|
||||
#include <linux/com20020.h>
|
||||
#include <linux/list.h>
|
||||
|
||||
#include <linux/io.h>
|
||||
|
||||
#include "arcdevice.h"
|
||||
#include "com20020.h"
|
||||
|
||||
/* Module parameters */
|
||||
|
||||
static int node;
|
||||
|
|
|
@ -37,11 +37,11 @@
|
|||
#include <linux/netdevice.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/arcdevice.h>
|
||||
#include <linux/com20020.h>
|
||||
|
||||
#include <linux/io.h>
|
||||
|
||||
#include "arcdevice.h"
|
||||
#include "com20020.h"
|
||||
|
||||
static char *clockrates[] = {
|
||||
"XXXXXXX", "XXXXXXXX", "XXXXXX",
|
||||
"2.5 Mb/s", "1.25Mb/s", "625 Kb/s", "312.5 Kb/s",
|
||||
|
|
|
@ -42,13 +42,12 @@
|
|||
#include <linux/delay.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/arcdevice.h>
|
||||
#include <linux/com20020.h>
|
||||
|
||||
#include <linux/io.h>
|
||||
#include <pcmcia/cistpl.h>
|
||||
#include <pcmcia/ds.h>
|
||||
|
||||
#include <linux/io.h>
|
||||
#include "arcdevice.h"
|
||||
#include "com20020.h"
|
||||
|
||||
static void regdump(struct net_device *dev)
|
||||
{
|
||||
|
|
|
@ -38,7 +38,8 @@
|
|||
#include <linux/init.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/arcdevice.h>
|
||||
|
||||
#include "arcdevice.h"
|
||||
|
||||
/* Internal function declarations */
|
||||
|
||||
|
|
|
@ -36,7 +36,8 @@
|
|||
#include <linux/netdevice.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/arcdevice.h>
|
||||
|
||||
#include "arcdevice.h"
|
||||
|
||||
/* Define this to speed up the autoprobe by assuming if only one io port and
|
||||
* shmem are left in the list at Stage 5, they must correspond to each
|
||||
|
|
|
@ -33,7 +33,8 @@
|
|||
#include <net/arp.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/skbuff.h>
|
||||
#include <linux/arcdevice.h>
|
||||
|
||||
#include "arcdevice.h"
|
||||
|
||||
static __be16 type_trans(struct sk_buff *skb, struct net_device *dev);
|
||||
static void rx(struct net_device *dev, int bufnum,
|
||||
|
|
|
@ -32,7 +32,8 @@
|
|||
#include <linux/if_arp.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/skbuff.h>
|
||||
#include <linux/arcdevice.h>
|
||||
|
||||
#include "arcdevice.h"
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
|
|
Loading…
Reference in New Issue