Commit 977b6892 authored by Martin Schwidefsky's avatar Martin Schwidefsky Committed by Linus Torvalds

[PATCH] s390: set module owner.

Pass correct argument to SET_MODULE_OWNER.
parent 6779477a
/* /*
* $Id: ctcmain.c,v 1.42 2003/05/23 17:45:57 felfert Exp $ * $Id: ctcmain.c,v 1.43 2003/05/27 11:34:23 mschwide Exp $
* *
* CTC / ESCON network driver * CTC / ESCON network driver
* *
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* RELEASE-TAG: CTC/ESCON network driver $Revision: 1.42 $ * RELEASE-TAG: CTC/ESCON network driver $Revision: 1.43 $
* *
*/ */
...@@ -272,7 +272,7 @@ static void ...@@ -272,7 +272,7 @@ static void
print_banner(void) print_banner(void)
{ {
static int printed = 0; static int printed = 0;
char vbuf[] = "$Revision: 1.42 $"; char vbuf[] = "$Revision: 1.43 $";
char *version = vbuf; char *version = vbuf;
if (printed) if (printed)
...@@ -2752,7 +2752,7 @@ ctc_init_netdevice(struct net_device * dev, int alloc_device, ...@@ -2752,7 +2752,7 @@ ctc_init_netdevice(struct net_device * dev, int alloc_device,
dev->type = ARPHRD_SLIP; dev->type = ARPHRD_SLIP;
dev->tx_queue_len = 100; dev->tx_queue_len = 100;
dev->flags = IFF_POINTOPOINT | IFF_NOARP; dev->flags = IFF_POINTOPOINT | IFF_NOARP;
SET_MODULE_OWNER(&tun->dev); SET_MODULE_OWNER(dev);
return dev; return dev;
} }
......
/* /*
* $Id: ctctty.c,v 1.11 2003/05/06 09:40:55 mschwide Exp $ * $Id: ctctty.c,v 1.12 2003/06/17 11:36:44 mschwide Exp $
* *
* CTC / ESCON network driver, tty interface. * CTC / ESCON network driver, tty interface.
* *
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* Frank Pavlic (pavlic@de.ibm.com) and * Frank Pavlic (pavlic@de.ibm.com) and
* Martin Schwidefsky <schwidefsky@de.ibm.com> * Martin Schwidefsky <schwidefsky@de.ibm.com>
* *
* $Revision: 1.51 $ $Date: 2003/03/28 08:54:40 $ * $Revision: 1.53 $ $Date: 2003/06/17 11:36:45 $
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
/** /**
* initialization string for output * initialization string for output
*/ */
#define VERSION_LCS_C "$Revision: 1.51 $" #define VERSION_LCS_C "$Revision: 1.53 $"
static char version[] __initdata = "LCS driver ("VERSION_LCS_C "/" VERSION_LCS_H ")"; static char version[] __initdata = "LCS driver ("VERSION_LCS_C "/" VERSION_LCS_H ")";
...@@ -1785,7 +1785,7 @@ lcs_new_device(struct ccwgroup_device *ccwgdev) ...@@ -1785,7 +1785,7 @@ lcs_new_device(struct ccwgroup_device *ccwgdev)
dev->set_multicast_list = lcs_set_multicast_list; dev->set_multicast_list = lcs_set_multicast_list;
#endif #endif
dev->get_stats = lcs_getstats; dev->get_stats = lcs_getstats;
SET_MODULE_OWNER(&tun->dev); SET_MODULE_OWNER(dev);
if (register_netdev(dev) != 0) if (register_netdev(dev) != 0)
goto out; goto out;
netif_stop_queue(dev); netif_stop_queue(dev);
......
/* /*
* $Id: netiucv.c,v 1.19 2003/04/08 16:00:17 mschwide Exp $ * $Id: netiucv.c,v 1.20 2003/05/27 11:34:24 mschwide Exp $
* *
* IUCV network driver * IUCV network driver
* *
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* RELEASE-TAG: IUCV network driver $Revision: 1.19 $ * RELEASE-TAG: IUCV network driver $Revision: 1.20 $
* *
*/ */
...@@ -1631,7 +1631,7 @@ netiucv_init_netdevice(int ifno, char *username) ...@@ -1631,7 +1631,7 @@ netiucv_init_netdevice(int ifno, char *username)
dev->type = ARPHRD_SLIP; dev->type = ARPHRD_SLIP;
dev->tx_queue_len = NETIUCV_QUEUELEN_DEFAULT; dev->tx_queue_len = NETIUCV_QUEUELEN_DEFAULT;
dev->flags = IFF_POINTOPOINT | IFF_NOARP; dev->flags = IFF_POINTOPOINT | IFF_NOARP;
SET_MODULE_OWNER(&tun->dev); SET_MODULE_OWNER(dev);
return dev; return dev;
} }
...@@ -1717,7 +1717,7 @@ static struct device_driver netiucv_driver = { ...@@ -1717,7 +1717,7 @@ static struct device_driver netiucv_driver = {
static void static void
netiucv_banner(void) netiucv_banner(void)
{ {
char vbuf[] = "$Revision: 1.19 $"; char vbuf[] = "$Revision: 1.20 $";
char *version = vbuf; char *version = vbuf;
if ((version = strchr(version, ':'))) { if ((version = strchr(version, ':'))) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment