hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/net/ethernet/cirrus/ep93xx_eth.c
....@@ -1,12 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * EP93xx ethernet network device driver
34 * Copyright (C) 2006 Lennert Buytenhek <buytenh@wantstofly.org>
45 * Dedicated to Marija Kulikova.
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
106 */
117
128 #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__
....@@ -25,10 +21,9 @@
2521 #include <linux/io.h>
2622 #include <linux/slab.h>
2723
28
-#include <mach/hardware.h>
24
+#include <linux/platform_data/eth-ep93xx.h>
2925
3026 #define DRV_MODULE_NAME "ep93xx-eth"
31
-#define DRV_MODULE_VERSION "0.1"
3227
3328 #define RX_QUEUE_ENTRIES 64
3429 #define TX_QUEUE_ENTRIES 8
....@@ -695,7 +690,6 @@
695690 static void ep93xx_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
696691 {
697692 strlcpy(info->driver, DRV_MODULE_NAME, sizeof(info->driver));
698
- strlcpy(info->version, DRV_MODULE_VERSION, sizeof(info->version));
699693 }
700694
701695 static int ep93xx_get_link_ksettings(struct net_device *dev,