Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
afc8eb46
Commit
afc8eb46
authored
Jun 14, 2006
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] trivial missing __init in drivers/net/*
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
05980775
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
37 additions
and
37 deletions
+37
-37
drivers/net/3c501.c
drivers/net/3c501.c
+1
-1
drivers/net/3c503.c
drivers/net/3c503.c
+1
-1
drivers/net/3c505.c
drivers/net/3c505.c
+1
-1
drivers/net/3c507.c
drivers/net/3c507.c
+1
-1
drivers/net/3c523.c
drivers/net/3c523.c
+1
-1
drivers/net/3c527.c
drivers/net/3c527.c
+1
-1
drivers/net/ac3200.c
drivers/net/ac3200.c
+1
-1
drivers/net/apne.c
drivers/net/apne.c
+2
-2
drivers/net/appletalk/cops.c
drivers/net/appletalk/cops.c
+1
-1
drivers/net/at1700.c
drivers/net/at1700.c
+1
-1
drivers/net/atarilance.c
drivers/net/atarilance.c
+2
-2
drivers/net/cs89x0.c
drivers/net/cs89x0.c
+1
-1
drivers/net/e2100.c
drivers/net/e2100.c
+1
-1
drivers/net/eepro.c
drivers/net/eepro.c
+1
-1
drivers/net/eexpress.c
drivers/net/eexpress.c
+1
-1
drivers/net/es3210.c
drivers/net/es3210.c
+1
-1
drivers/net/eth16i.c
drivers/net/eth16i.c
+1
-1
drivers/net/hp-plus.c
drivers/net/hp-plus.c
+1
-1
drivers/net/hp.c
drivers/net/hp.c
+1
-1
drivers/net/lance.c
drivers/net/lance.c
+1
-1
drivers/net/lne390.c
drivers/net/lne390.c
+1
-1
drivers/net/mvme147.c
drivers/net/mvme147.c
+2
-2
drivers/net/ne.c
drivers/net/ne.c
+1
-1
drivers/net/ne2.c
drivers/net/ne2.c
+1
-1
drivers/net/ni52.c
drivers/net/ni52.c
+1
-1
drivers/net/ni65.c
drivers/net/ni65.c
+1
-1
drivers/net/seeq8005.c
drivers/net/seeq8005.c
+1
-1
drivers/net/smc-ultra.c
drivers/net/smc-ultra.c
+1
-1
drivers/net/smc-ultra32.c
drivers/net/smc-ultra32.c
+1
-1
drivers/net/smc9194.c
drivers/net/smc9194.c
+1
-1
drivers/net/sun3lance.c
drivers/net/sun3lance.c
+2
-2
drivers/net/tokenring/smctr.c
drivers/net/tokenring/smctr.c
+1
-1
drivers/net/wd.c
drivers/net/wd.c
+1
-1
No files found.
drivers/net/3c501.c
View file @
afc8eb46
...
...
@@ -922,7 +922,7 @@ int __init init_module(void)
* and then free up the resources we took when the card was found.
*/
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
struct
net_device
*
dev
=
dev_3c501
;
unregister_netdev
(
dev
);
...
...
drivers/net/3c503.c
View file @
afc8eb46
...
...
@@ -726,7 +726,7 @@ static void cleanup_card(struct net_device *dev)
iounmap
(
ei_status
.
mem
);
}
void
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/3c505.c
View file @
afc8eb46
...
...
@@ -1670,7 +1670,7 @@ int __init init_module(void)
return
0
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/3c507.c
View file @
afc8eb46
...
...
@@ -940,7 +940,7 @@ int __init init_module(void)
return
IS_ERR
(
dev_3c507
)
?
PTR_ERR
(
dev_3c507
)
:
0
;
}
void
void
__exit
cleanup_module
(
void
)
{
struct
net_device
*
dev
=
dev_3c507
;
...
...
drivers/net/3c523.c
View file @
afc8eb46
...
...
@@ -1302,7 +1302,7 @@ int __init init_module(void)
}
else
return
0
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
for
(
this_dev
=
0
;
this_dev
<
MAX_3C523_CARDS
;
this_dev
++
)
{
...
...
drivers/net/3c527.c
View file @
afc8eb46
...
...
@@ -1659,7 +1659,7 @@ int __init init_module(void)
* transmit operations are allowed to start scribbling into memory.
*/
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
unregister_netdev
(
this_device
);
cleanup_card
(
this_device
);
...
...
drivers/net/ac3200.c
View file @
afc8eb46
...
...
@@ -405,7 +405,7 @@ static void cleanup_card(struct net_device *dev)
iounmap
(
ei_status
.
mem
);
}
void
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/apne.c
View file @
afc8eb46
...
...
@@ -568,7 +568,7 @@ static irqreturn_t apne_interrupt(int irq, void *dev_id)
#ifdef MODULE
static
struct
net_device
*
apne_dev
;
int
init_module
(
void
)
int
__init
init_module
(
void
)
{
apne_dev
=
apne_probe
(
-
1
);
if
(
IS_ERR
(
apne_dev
))
...
...
@@ -576,7 +576,7 @@ int init_module(void)
return
0
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
unregister_netdev
(
apne_dev
);
...
...
drivers/net/appletalk/cops.c
View file @
afc8eb46
...
...
@@ -1041,7 +1041,7 @@ int __init init_module(void)
return
0
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
unregister_netdev
(
cops_dev
);
cleanup_card
(
cops_dev
);
...
...
drivers/net/at1700.c
View file @
afc8eb46
...
...
@@ -908,7 +908,7 @@ int __init init_module(void)
return
0
;
}
void
void
__exit
cleanup_module
(
void
)
{
unregister_netdev
(
dev_at1700
);
...
...
drivers/net/atarilance.c
View file @
afc8eb46
...
...
@@ -1179,7 +1179,7 @@ static int lance_set_mac_address( struct net_device *dev, void *addr )
#ifdef MODULE
static
struct
net_device
*
atarilance_dev
;
int
init_module
(
void
)
int
__init
init_module
(
void
)
{
atarilance_dev
=
atarilance_probe
(
-
1
);
if
(
IS_ERR
(
atarilance_dev
))
...
...
@@ -1187,7 +1187,7 @@ int init_module(void)
return
0
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
unregister_netdev
(
atarilance_dev
);
free_irq
(
atarilance_dev
->
irq
,
atarilance_dev
);
...
...
drivers/net/cs89x0.c
View file @
afc8eb46
...
...
@@ -1974,7 +1974,7 @@ int __init init_module(void)
return
ret
;
}
void
void
__exit
cleanup_module
(
void
)
{
unregister_netdev
(
dev_cs89x0
);
...
...
drivers/net/e2100.c
View file @
afc8eb46
...
...
@@ -463,7 +463,7 @@ static void cleanup_card(struct net_device *dev)
release_region
(
dev
->
base_addr
,
E21_IO_EXTENT
);
}
void
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/eepro.c
View file @
afc8eb46
...
...
@@ -1827,7 +1827,7 @@ int __init init_module(void)
return
n_eepro
?
0
:
-
ENODEV
;
}
void
void
__exit
cleanup_module
(
void
)
{
int
i
;
...
...
drivers/net/eexpress.c
View file @
afc8eb46
...
...
@@ -1719,7 +1719,7 @@ int __init init_module(void)
return
-
ENXIO
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/es3210.c
View file @
afc8eb46
...
...
@@ -455,7 +455,7 @@ static void cleanup_card(struct net_device *dev)
iounmap
(
ei_status
.
mem
);
}
void
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/eth16i.c
View file @
afc8eb46
...
...
@@ -1475,7 +1475,7 @@ int __init init_module(void)
return
-
ENXIO
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/hp-plus.c
View file @
afc8eb46
...
...
@@ -482,7 +482,7 @@ static void cleanup_card(struct net_device *dev)
release_region
(
dev
->
base_addr
-
NIC_OFFSET
,
HP_IO_EXTENT
);
}
void
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/hp.c
View file @
afc8eb46
...
...
@@ -444,7 +444,7 @@ static void cleanup_card(struct net_device *dev)
release_region
(
dev
->
base_addr
-
NIC_OFFSET
,
HP_IO_EXTENT
);
}
void
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/lance.c
View file @
afc8eb46
...
...
@@ -368,7 +368,7 @@ static void cleanup_card(struct net_device *dev)
kfree
(
lp
);
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/lne390.c
View file @
afc8eb46
...
...
@@ -440,7 +440,7 @@ static void cleanup_card(struct net_device *dev)
iounmap
(
ei_status
.
mem
);
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/mvme147.c
View file @
afc8eb46
...
...
@@ -184,7 +184,7 @@ static int m147lance_close(struct net_device *dev)
MODULE_LICENSE
(
"GPL"
);
static
struct
net_device
*
dev_mvme147_lance
;
int
init_module
(
void
)
int
__init
init_module
(
void
)
{
dev_mvme147_lance
=
mvme147lance_probe
(
-
1
);
if
(
IS_ERR
(
dev_mvme147_lance
))
...
...
@@ -192,7 +192,7 @@ int init_module(void)
return
0
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
struct
m147lance_private
*
lp
=
dev_mvme147_lance
->
priv
;
unregister_netdev
(
dev_mvme147_lance
);
...
...
drivers/net/ne.c
View file @
afc8eb46
...
...
@@ -867,7 +867,7 @@ static void cleanup_card(struct net_device *dev)
release_region
(
dev
->
base_addr
,
NE_IO_EXTENT
);
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/ne2.c
View file @
afc8eb46
...
...
@@ -813,7 +813,7 @@ static void cleanup_card(struct net_device *dev)
release_region
(
dev
->
base_addr
,
NE_IO_EXTENT
);
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/ni52.c
View file @
afc8eb46
...
...
@@ -1335,7 +1335,7 @@ int __init init_module(void)
return
0
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
unregister_netdev
(
dev_ni52
);
release_region
(
dev_ni52
->
base_addr
,
NI52_TOTAL_SIZE
);
...
...
drivers/net/ni65.c
View file @
afc8eb46
...
...
@@ -1259,7 +1259,7 @@ int __init init_module(void)
return
IS_ERR
(
dev_ni65
)
?
PTR_ERR
(
dev_ni65
)
:
0
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
unregister_netdev
(
dev_ni65
);
cleanup_card
(
dev_ni65
);
...
...
drivers/net/seeq8005.c
View file @
afc8eb46
...
...
@@ -750,7 +750,7 @@ int __init init_module(void)
return
0
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
unregister_netdev
(
dev_seeq
);
release_region
(
dev_seeq
->
base_addr
,
SEEQ8005_IO_EXTENT
);
...
...
drivers/net/smc-ultra.c
View file @
afc8eb46
...
...
@@ -593,7 +593,7 @@ static void cleanup_card(struct net_device *dev)
iounmap
(
ei_status
.
mem
);
}
void
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/smc-ultra32.c
View file @
afc8eb46
...
...
@@ -437,7 +437,7 @@ int __init init_module(void)
return
-
ENXIO
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
drivers/net/smc9194.c
View file @
afc8eb46
...
...
@@ -1616,7 +1616,7 @@ int __init init_module(void)
return
0
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
unregister_netdev
(
devSMC9194
);
free_irq
(
devSMC9194
->
irq
,
devSMC9194
);
...
...
drivers/net/sun3lance.c
View file @
afc8eb46
...
...
@@ -945,7 +945,7 @@ static void set_multicast_list( struct net_device *dev )
static
struct
net_device
*
sun3lance_dev
;
int
init_module
(
void
)
int
__init
init_module
(
void
)
{
sun3lance_dev
=
sun3lance_probe
(
-
1
);
if
(
IS_ERR
(
sun3lance_dev
))
...
...
@@ -953,7 +953,7 @@ int init_module(void)
return
0
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
unregister_netdev
(
sun3lance_dev
);
#ifdef CONFIG_SUN3
...
...
drivers/net/tokenring/smctr.c
View file @
afc8eb46
...
...
@@ -5706,7 +5706,7 @@ int __init init_module(void)
return
found
?
0
:
-
ENODEV
;
}
void
cleanup_module
(
void
)
void
__exit
cleanup_module
(
void
)
{
int
i
;
...
...
drivers/net/wd.c
View file @
afc8eb46
...
...
@@ -538,7 +538,7 @@ static void cleanup_card(struct net_device *dev)
iounmap
(
ei_status
.
mem
);
}
void
void
__exit
cleanup_module
(
void
)
{
int
this_dev
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment