Skip to content

Commit

Permalink
net: ethernet: lpc_eth: clean up the list of included headers
Browse files Browse the repository at this point in the history
The change removes all unnecessary included headers from the driver
source code, the remaining list is sorted in alphabetical order.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Vladimir Zapolskiy authored and David S. Miller committed Oct 20, 2018
1 parent c8baae8 commit 1d94820
Showing 1 changed file with 6 additions and 22 deletions.
28 changes: 6 additions & 22 deletions drivers/net/ethernet/nxp/lpc_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,18 @@

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/crc32.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/clk.h>
#include <linux/workqueue.h>
#include <linux/netdevice.h>
#include <linux/crc32.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/phy.h>
#include <linux/dma-mapping.h>
#include <linux/of.h>
#include <linux/module.h>
#include <linux/of_net.h>
#include <linux/types.h>
#include <linux/phy.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>

#include <linux/io.h>
#include <mach/board.h>
#include <mach/platform.h>
#include <mach/hardware.h>
#include <mach/platform.h>

#define MODNAME "lpc-eth"
#define DRV_VERSION "1.00"
Expand Down

0 comments on commit 1d94820

Please sign in to comment.