Skip to content

Commit

Permalink
staging: et131x: Remove file et131x_version.h
Browse files Browse the repository at this point in the history
Removed defines in et131x_version.h and replaced them by actual
strings where convinient, or moved them to et131x.h

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Mark Einon authored and Greg Kroah-Hartman committed Oct 11, 2011
1 parent f247be5 commit b6f4160
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 91 deletions.
1 change: 0 additions & 1 deletion drivers/staging/et131x/et1310_eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
*
*/

#include "et131x_version.h"
#include "et131x_defs.h"

#include <linux/pci.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/et131x/et1310_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
*
*/

#include "et131x_version.h"
#include "et131x_defs.h"

#include <linux/init.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/et131x/et1310_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
*
*/

#include "et131x_version.h"
#include "et131x_defs.h"

#include <linux/pci.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/et131x/et1310_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
*
*/

#include "et131x_version.h"
#include "et131x_defs.h"

#include <linux/init.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/et131x/et1310_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
*
*/

#include "et131x_version.h"
#include "et131x_defs.h"

#include <linux/pci.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/et131x/et1310_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
*
*/

#include "et131x_version.h"
#include "et131x_defs.h"

#include <linux/pci.h>
Expand Down
3 changes: 3 additions & 0 deletions drivers/staging/et131x/et131x.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
*
*/

#define DRIVER_NAME "et131x"
#define DRIVER_VERSION "v2.0"

/* et131x_eeprom.c */
int et131x_init_eeprom(struct et131x_adapter *adapter);

Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/et131x/et131x_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "et131x_version.h"

#include "et131x_defs.h"

#include <linux/types.h>
Expand Down Expand Up @@ -181,7 +181,7 @@ static void et131x_get_drvinfo(struct net_device *netdev,
struct et131x_adapter *adapter = netdev_priv(netdev);

strncpy(info->driver, DRIVER_NAME, ET131X_DRVINFO_LEN);
strncpy(info->version, DRIVER_VERSION_STRING, ET131X_DRVINFO_LEN);
strncpy(info->version, DRIVER_VERSION, ET131X_DRVINFO_LEN);
strncpy(info->bus_info, pci_name(adapter->pdev), ET131X_DRVINFO_LEN);
}

Expand Down
11 changes: 5 additions & 6 deletions drivers/staging/et131x/et131x_initpci.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
*
*/

#include "et131x_version.h"
#include "et131x_defs.h"

#include <linux/pci.h>
Expand Down Expand Up @@ -944,8 +943,8 @@ static void __exit et131x_cleanup_module(void)
module_init(et131x_init_module);
module_exit(et131x_cleanup_module);

/* Modinfo parameters (filled out using defines from et131x_version.h) */
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_AUTHOR(DRIVER_AUTHOR2);
MODULE_DESCRIPTION(DRIVER_INFO);
MODULE_LICENSE(DRIVER_LICENSE);
MODULE_AUTHOR("Victor Soriano <vjsoriano@agere.com>");
MODULE_AUTHOR("Mark Einon <mark.einon@gmail.com>");
MODULE_LICENSE("Dual BSD/GPL");
MODULE_DESCRIPTION("10/100/1000 Base-T Ethernet Driver "
"for the ET1310 by Agere Systems");
1 change: 0 additions & 1 deletion drivers/staging/et131x/et131x_isr.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
*
*/

#include "et131x_version.h"
#include "et131x_defs.h"

#include <linux/init.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/et131x/et131x_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
*
*/

#include "et131x_version.h"
#include "et131x_defs.h"

#include <linux/init.h>
Expand Down
75 changes: 0 additions & 75 deletions drivers/staging/et131x/et131x_version.h

This file was deleted.

0 comments on commit b6f4160

Please sign in to comment.