Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
fc72b7a3
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看板
提交
fc72b7a3
编写于
8月 21, 2017
作者:
H
Helge Deller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
parisc/mux: Fix section mismatches
Signed-off-by:
N
Helge Deller
<
deller@gmx.de
>
上级
6aaf7934
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
7 addition
and
7 deletion
+7
-7
drivers/tty/serial/mux.c
drivers/tty/serial/mux.c
+7
-7
未找到文件。
drivers/tty/serial/mux.c
浏览文件 @
fc72b7a3
...
@@ -503,7 +503,7 @@ static int __init mux_probe(struct parisc_device *dev)
...
@@ -503,7 +503,7 @@ static int __init mux_probe(struct parisc_device *dev)
return
0
;
return
0
;
}
}
static
int
mux_remove
(
struct
parisc_device
*
dev
)
static
int
__exit
mux_remove
(
struct
parisc_device
*
dev
)
{
{
int
i
,
j
;
int
i
,
j
;
int
port_count
=
(
long
)
dev_get_drvdata
(
&
dev
->
dev
);
int
port_count
=
(
long
)
dev_get_drvdata
(
&
dev
->
dev
);
...
@@ -536,13 +536,13 @@ static int mux_remove(struct parisc_device *dev)
...
@@ -536,13 +536,13 @@ static int mux_remove(struct parisc_device *dev)
* This table only contains the parisc_device_id of known builtin mux
* This table only contains the parisc_device_id of known builtin mux
* devices. All other mux cards will be detected by the generic mux_tbl.
* devices. All other mux cards will be detected by the generic mux_tbl.
*/
*/
static
struct
parisc_device_id
builtin_mux_tbl
[]
=
{
static
const
struct
parisc_device_id
builtin_mux_tbl
[]
__initconst
=
{
{
HPHW_A_DIRECT
,
HVERSION_REV_ANY_ID
,
0x15
,
0x0000D
},
/* All K-class */
{
HPHW_A_DIRECT
,
HVERSION_REV_ANY_ID
,
0x15
,
0x0000D
},
/* All K-class */
{
HPHW_A_DIRECT
,
HVERSION_REV_ANY_ID
,
0x44
,
0x0000D
},
/* E35, E45, and E55 */
{
HPHW_A_DIRECT
,
HVERSION_REV_ANY_ID
,
0x44
,
0x0000D
},
/* E35, E45, and E55 */
{
0
,
}
{
0
,
}
};
};
static
struct
parisc_device_id
mux_tbl
[]
=
{
static
const
struct
parisc_device_id
mux_tbl
[]
__initconst
=
{
{
HPHW_A_DIRECT
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x0000D
},
{
HPHW_A_DIRECT
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x0000D
},
{
0
,
}
{
0
,
}
};
};
...
@@ -550,18 +550,18 @@ static struct parisc_device_id mux_tbl[] = {
...
@@ -550,18 +550,18 @@ static struct parisc_device_id mux_tbl[] = {
MODULE_DEVICE_TABLE
(
parisc
,
builtin_mux_tbl
);
MODULE_DEVICE_TABLE
(
parisc
,
builtin_mux_tbl
);
MODULE_DEVICE_TABLE
(
parisc
,
mux_tbl
);
MODULE_DEVICE_TABLE
(
parisc
,
mux_tbl
);
static
struct
parisc_driver
builtin_serial_mux_driver
=
{
static
struct
parisc_driver
builtin_serial_mux_driver
__refdata
=
{
.
name
=
"builtin_serial_mux"
,
.
name
=
"builtin_serial_mux"
,
.
id_table
=
builtin_mux_tbl
,
.
id_table
=
builtin_mux_tbl
,
.
probe
=
mux_probe
,
.
probe
=
mux_probe
,
.
remove
=
mux_remove
,
.
remove
=
__exit_p
(
mux_remove
)
,
};
};
static
struct
parisc_driver
serial_mux_driver
=
{
static
struct
parisc_driver
serial_mux_driver
__refdata
=
{
.
name
=
"serial_mux"
,
.
name
=
"serial_mux"
,
.
id_table
=
mux_tbl
,
.
id_table
=
mux_tbl
,
.
probe
=
mux_probe
,
.
probe
=
mux_probe
,
.
remove
=
mux_remove
,
.
remove
=
__exit_p
(
mux_remove
)
,
};
};
/**
/**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录