Changeset 42493


Ignore:
Timestamp:
2014-09-12T08:52:14+02:00 (3 years ago)
Author:
blogic
Message:

atheros: remove useless includes

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@…>

Location:
trunk/target/linux/atheros/patches-3.14
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/atheros/patches-3.14/110-ar2313_ethernet.patch

    r42492 r42493  
    3434--- /dev/null 
    3535+++ b/drivers/net/ethernet/atheros/ar231x/ar231x.c 
    36 @@ -0,0 +1,1231 @@ 
     36@@ -0,0 +1,1218 @@ 
    3737+/* 
    3838+ * ar231x.c: Linux driver for the Atheros AR231x Ethernet device. 
     
    5656+ 
    5757+#include <linux/module.h> 
    58 +#include <linux/version.h> 
    5958+#include <linux/types.h> 
    6059+#include <linux/errno.h> 
    6160+#include <linux/ioport.h> 
    62 +#include <linux/pci.h> 
    6361+#include <linux/netdevice.h> 
    6462+#include <linux/etherdevice.h> 
    6563+#include <linux/interrupt.h> 
    66 +#include <linux/hardirq.h> 
    6764+#include <linux/skbuff.h> 
    6865+#include <linux/init.h> 
    6966+#include <linux/delay.h> 
    7067+#include <linux/mm.h> 
    71 +#include <linux/highmem.h> 
    72 +#include <linux/sockios.h> 
    73 +#include <linux/pkt_sched.h> 
    7468+#include <linux/mii.h> 
    7569+#include <linux/phy.h> 
    76 +#include <linux/ethtool.h> 
    77 +#include <linux/ctype.h> 
    7870+#include <linux/platform_device.h> 
    7971+#include <linux/io.h> 
    80 +#include <linux/uaccess.h> 
    81 + 
    82 +#include <net/sock.h> 
    83 +#include <net/ip.h> 
    8472+ 
    8573+#define AR2313_MTU                     1692 
     
    8775+#define AR2313_QUEUES                  (2*AR2313_PRIOS) 
    8876+#define AR2313_DESCR_ENTRIES           64 
    89 + 
    9077+ 
    9178+#ifndef min 
  • trunk/target/linux/atheros/patches-3.14/120-spiflash.patch

    r42491 r42493  
    2424--- /dev/null 
    2525+++ b/drivers/mtd/devices/ar2315.c 
    26 @@ -0,0 +1,461 @@ 
     26@@ -0,0 +1,459 @@ 
    2727+ 
    2828+/* 
     
    4444+#include <linux/module.h> 
    4545+#include <linux/types.h> 
    46 +#include <linux/version.h> 
    4746+#include <linux/errno.h> 
    4847+#include <linux/slab.h> 
     
    5150+#include <linux/platform_device.h> 
    5251+#include <linux/sched.h> 
    53 +#include <linux/root_dev.h> 
    5452+#include <linux/delay.h> 
    5553+#include <linux/io.h> 
  • trunk/target/linux/atheros/patches-3.14/220-enet_micrel_workaround.patch

    r42492 r42493  
    11--- a/drivers/net/ethernet/atheros/ar231x/ar231x.c 
    22+++ b/drivers/net/ethernet/atheros/ar231x/ar231x.c 
    3 @@ -148,6 +148,7 @@ static int ar231x_mdiobus_write(struct m 
     3@@ -135,6 +135,7 @@ static int ar231x_mdiobus_write(struct m 
    44 static int ar231x_mdiobus_reset(struct mii_bus *bus); 
    55 static int ar231x_mdiobus_probe(struct net_device *dev); 
     
    99 #ifndef ERR 
    1010 #define ERR(fmt, args...) printk("%s: " fmt, __func__, ##args) 
    11 @@ -180,6 +181,32 @@ static const struct net_device_ops ar231 
     11@@ -167,6 +168,32 @@ static const struct net_device_ops ar231 
    1212 #endif 
    1313 }; 
     
    4242 { 
    4343        struct net_device *dev; 
    44 @@ -286,6 +313,24 @@ static int ar231x_probe(struct platform_ 
     44@@ -273,6 +300,24 @@ static int ar231x_probe(struct platform_ 
    4545  
    4646        mdiobus_register(sp->mii_bus); 
     
    6767                printk(KERN_ERR "%s: mdiobus_probe failed\n", dev->name); 
    6868                rx_tasklet_cleanup(dev); 
    69 @@ -343,8 +388,10 @@ static int ar231x_remove(struct platform 
     69@@ -330,8 +375,10 @@ static int ar231x_remove(struct platform 
    7070        rx_tasklet_cleanup(dev); 
    7171        ar231x_init_cleanup(dev); 
     
    8080        return 0; 
    8181 } 
    82 @@ -1103,6 +1150,9 @@ static int ar231x_ioctl(struct net_devic 
     82@@ -1090,6 +1137,9 @@ static int ar231x_ioctl(struct net_devic 
    8383 { 
    8484        struct ar231x_private *sp = netdev_priv(dev); 
Note: See TracChangeset for help on using the changeset viewer.