Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
6392f184
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看板
提交
6392f184
编写于
1月 15, 2008
作者:
K
Kumar Gala
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[POWERPC] 83xx: convert boards to use machine_device_initcall
Signed-off-by:
N
Kumar Gala
<
galak@kernel.crashing.org
>
上级
277982e2
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
6 addition
and
24 deletion
+6
-24
arch/powerpc/platforms/83xx/mpc832x_mds.c
arch/powerpc/platforms/83xx/mpc832x_mds.c
+1
-4
arch/powerpc/platforms/83xx/mpc832x_rdb.c
arch/powerpc/platforms/83xx/mpc832x_rdb.c
+2
-8
arch/powerpc/platforms/83xx/mpc834x_mds.c
arch/powerpc/platforms/83xx/mpc834x_mds.c
+1
-4
arch/powerpc/platforms/83xx/mpc836x_mds.c
arch/powerpc/platforms/83xx/mpc836x_mds.c
+1
-4
arch/powerpc/platforms/83xx/mpc837x_mds.c
arch/powerpc/platforms/83xx/mpc837x_mds.c
+1
-4
未找到文件。
arch/powerpc/platforms/83xx/mpc832x_mds.c
浏览文件 @
6392f184
...
...
@@ -110,15 +110,12 @@ static struct of_device_id mpc832x_ids[] = {
static
int
__init
mpc832x_declare_of_platform_devices
(
void
)
{
if
(
!
machine_is
(
mpc832x_mds
))
return
0
;
/* Publish the QE devices */
of_platform_bus_probe
(
NULL
,
mpc832x_ids
,
NULL
);
return
0
;
}
device_initcall
(
mpc832x_declare_of_platform_devices
);
machine_device_initcall
(
mpc832x_mds
,
mpc832x_declare_of_platform_devices
);
static
void
__init
mpc832x_sys_init_IRQ
(
void
)
{
...
...
arch/powerpc/platforms/83xx/mpc832x_rdb.c
浏览文件 @
6392f184
...
...
@@ -63,9 +63,6 @@ static struct spi_board_info mpc832x_spi_boardinfo = {
static
int
__init
mpc832x_spi_init
(
void
)
{
if
(
!
machine_is
(
mpc832x_rdb
))
return
0
;
par_io_config_pin
(
3
,
0
,
3
,
0
,
1
,
0
);
/* SPI1 MOSI, I/O */
par_io_config_pin
(
3
,
1
,
3
,
0
,
1
,
0
);
/* SPI1 MISO, I/O */
par_io_config_pin
(
3
,
2
,
3
,
0
,
1
,
0
);
/* SPI1 CLK, I/O */
...
...
@@ -80,7 +77,7 @@ static int __init mpc832x_spi_init(void)
mpc83xx_spi_deactivate_cs
);
}
device_initcall
(
mpc832x_spi_init
);
machine_device_initcall
(
mpc832x_rdb
,
mpc832x_spi_init
);
/* ************************************************************************
*
...
...
@@ -123,15 +120,12 @@ static struct of_device_id mpc832x_ids[] = {
static
int
__init
mpc832x_declare_of_platform_devices
(
void
)
{
if
(
!
machine_is
(
mpc832x_rdb
))
return
0
;
/* Publish the QE devices */
of_platform_bus_probe
(
NULL
,
mpc832x_ids
,
NULL
);
return
0
;
}
device_initcall
(
mpc832x_declare_of_platform_devices
);
machine_device_initcall
(
mpc832x_rdb
,
mpc832x_declare_of_platform_devices
);
void
__init
mpc832x_rdb_init_IRQ
(
void
)
{
...
...
arch/powerpc/platforms/83xx/mpc834x_mds.c
浏览文件 @
6392f184
...
...
@@ -115,13 +115,10 @@ static struct of_device_id mpc834x_ids[] = {
static
int
__init
mpc834x_declare_of_platform_devices
(
void
)
{
if
(
!
machine_is
(
mpc834x_mds
))
return
0
;
of_platform_bus_probe
(
NULL
,
mpc834x_ids
,
NULL
);
return
0
;
}
device_initcall
(
mpc834x_declare_of_platform_devices
);
machine_device_initcall
(
mpc834x_mds
,
mpc834x_declare_of_platform_devices
);
/*
* Called very early, MMU is off, device-tree isn't unflattened
...
...
arch/powerpc/platforms/83xx/mpc836x_mds.c
浏览文件 @
6392f184
...
...
@@ -141,15 +141,12 @@ static struct of_device_id mpc836x_ids[] = {
static
int
__init
mpc836x_declare_of_platform_devices
(
void
)
{
if
(
!
machine_is
(
mpc836x_mds
))
return
0
;
/* Publish the QE devices */
of_platform_bus_probe
(
NULL
,
mpc836x_ids
,
NULL
);
return
0
;
}
device_initcall
(
mpc836x_declare_of_platform_devices
);
machine_device_initcall
(
mpc836x_mds
,
mpc836x_declare_of_platform_devices
);
static
void
__init
mpc836x_mds_init_IRQ
(
void
)
{
...
...
arch/powerpc/platforms/83xx/mpc837x_mds.c
浏览文件 @
6392f184
...
...
@@ -50,15 +50,12 @@ static struct of_device_id mpc837x_ids[] = {
static
int
__init
mpc837x_declare_of_platform_devices
(
void
)
{
if
(
!
machine_is
(
mpc837x_mds
))
return
0
;
/* Publish of_device */
of_platform_bus_probe
(
NULL
,
mpc837x_ids
,
NULL
);
return
0
;
}
device_initcall
(
mpc837x_declare_of_platform_devices
);
machine_device_initcall
(
mpc837x_mds
,
mpc837x_declare_of_platform_devices
);
static
void
__init
mpc837x_mds_init_IRQ
(
void
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录