Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
afc8eb46
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
afc8eb46
编写于
6月 14, 2006
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[PATCH] trivial missing __init in drivers/net/*
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
05980775
变更
33
隐藏空白更改
内联
并排
Showing
33 changed file
with
37 addition
and
37 deletion
+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
未找到文件。
drivers/net/3c501.c
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录