Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
38a6fe8c
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看板
提交
38a6fe8c
编写于
8月 03, 2009
作者:
R
Russell King
提交者:
Russell King
8月 03, 2009
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 's3c-fixes-rc4-2' of
git://aeryn.fluff.org.uk/bjdooks/linux
上级
320145fa
909db802
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
28 addition
and
24 deletion
+28
-24
arch/arm/plat-s3c24xx/pwm.c
arch/arm/plat-s3c24xx/pwm.c
+4
-0
drivers/serial/s3c2400.c
drivers/serial/s3c2400.c
+4
-4
drivers/serial/s3c2410.c
drivers/serial/s3c2410.c
+4
-4
drivers/serial/s3c2412.c
drivers/serial/s3c2412.c
+4
-4
drivers/serial/s3c2440.c
drivers/serial/s3c2440.c
+4
-4
drivers/serial/s3c24a0.c
drivers/serial/s3c24a0.c
+4
-4
drivers/serial/s3c6400.c
drivers/serial/s3c6400.c
+4
-4
未找到文件。
arch/arm/plat-s3c24xx/pwm.c
浏览文件 @
38a6fe8c
...
@@ -246,6 +246,10 @@ int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns)
...
@@ -246,6 +246,10 @@ int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns)
tcmp
=
duty_ns
/
tin_ns
;
tcmp
=
duty_ns
/
tin_ns
;
tcmp
=
tcnt
-
tcmp
;
tcmp
=
tcnt
-
tcmp
;
/* the pwm hw only checks the compare register after a decrement,
so the pin never toggles if tcmp = tcnt */
if
(
tcmp
==
tcnt
)
tcmp
--
;
pwm_dbg
(
pwm
,
"tin_ns=%lu, tcmp=%ld/%lu
\n
"
,
tin_ns
,
tcmp
,
tcnt
);
pwm_dbg
(
pwm
,
"tin_ns=%lu, tcmp=%ld/%lu
\n
"
,
tin_ns
,
tcmp
,
tcnt
);
...
...
drivers/serial/s3c2400.c
浏览文件 @
38a6fe8c
...
@@ -76,7 +76,7 @@ static int s3c2400_serial_probe(struct platform_device *dev)
...
@@ -76,7 +76,7 @@ static int s3c2400_serial_probe(struct platform_device *dev)
return
s3c24xx_serial_probe
(
dev
,
&
s3c2400_uart_inf
);
return
s3c24xx_serial_probe
(
dev
,
&
s3c2400_uart_inf
);
}
}
static
struct
platform_driver
s3c2400_serial_dr
v
=
{
static
struct
platform_driver
s3c2400_serial_dr
iver
=
{
.
probe
=
s3c2400_serial_probe
,
.
probe
=
s3c2400_serial_probe
,
.
remove
=
__devexit_p
(
s3c24xx_serial_remove
),
.
remove
=
__devexit_p
(
s3c24xx_serial_remove
),
.
driver
=
{
.
driver
=
{
...
@@ -85,16 +85,16 @@ static struct platform_driver s3c2400_serial_drv = {
...
@@ -85,16 +85,16 @@ static struct platform_driver s3c2400_serial_drv = {
},
},
};
};
s3c24xx_console_init
(
&
s3c2400_serial_dr
v
,
&
s3c2400_uart_inf
);
s3c24xx_console_init
(
&
s3c2400_serial_dr
iver
,
&
s3c2400_uart_inf
);
static
inline
int
s3c2400_serial_init
(
void
)
static
inline
int
s3c2400_serial_init
(
void
)
{
{
return
s3c24xx_serial_init
(
&
s3c2400_serial_dr
v
,
&
s3c2400_uart_inf
);
return
s3c24xx_serial_init
(
&
s3c2400_serial_dr
iver
,
&
s3c2400_uart_inf
);
}
}
static
inline
void
s3c2400_serial_exit
(
void
)
static
inline
void
s3c2400_serial_exit
(
void
)
{
{
platform_driver_unregister
(
&
s3c2400_serial_dr
v
);
platform_driver_unregister
(
&
s3c2400_serial_dr
iver
);
}
}
module_init
(
s3c2400_serial_init
);
module_init
(
s3c2400_serial_init
);
...
...
drivers/serial/s3c2410.c
浏览文件 @
38a6fe8c
...
@@ -88,7 +88,7 @@ static int s3c2410_serial_probe(struct platform_device *dev)
...
@@ -88,7 +88,7 @@ static int s3c2410_serial_probe(struct platform_device *dev)
return
s3c24xx_serial_probe
(
dev
,
&
s3c2410_uart_inf
);
return
s3c24xx_serial_probe
(
dev
,
&
s3c2410_uart_inf
);
}
}
static
struct
platform_driver
s3c2410_serial_dr
v
=
{
static
struct
platform_driver
s3c2410_serial_dr
iver
=
{
.
probe
=
s3c2410_serial_probe
,
.
probe
=
s3c2410_serial_probe
,
.
remove
=
__devexit_p
(
s3c24xx_serial_remove
),
.
remove
=
__devexit_p
(
s3c24xx_serial_remove
),
.
driver
=
{
.
driver
=
{
...
@@ -97,16 +97,16 @@ static struct platform_driver s3c2410_serial_drv = {
...
@@ -97,16 +97,16 @@ static struct platform_driver s3c2410_serial_drv = {
},
},
};
};
s3c24xx_console_init
(
&
s3c2410_serial_dr
v
,
&
s3c2410_uart_inf
);
s3c24xx_console_init
(
&
s3c2410_serial_dr
iver
,
&
s3c2410_uart_inf
);
static
int
__init
s3c2410_serial_init
(
void
)
static
int
__init
s3c2410_serial_init
(
void
)
{
{
return
s3c24xx_serial_init
(
&
s3c2410_serial_dr
v
,
&
s3c2410_uart_inf
);
return
s3c24xx_serial_init
(
&
s3c2410_serial_dr
iver
,
&
s3c2410_uart_inf
);
}
}
static
void
__exit
s3c2410_serial_exit
(
void
)
static
void
__exit
s3c2410_serial_exit
(
void
)
{
{
platform_driver_unregister
(
&
s3c2410_serial_dr
v
);
platform_driver_unregister
(
&
s3c2410_serial_dr
iver
);
}
}
module_init
(
s3c2410_serial_init
);
module_init
(
s3c2410_serial_init
);
...
...
drivers/serial/s3c2412.c
浏览文件 @
38a6fe8c
...
@@ -121,7 +121,7 @@ static int s3c2412_serial_probe(struct platform_device *dev)
...
@@ -121,7 +121,7 @@ static int s3c2412_serial_probe(struct platform_device *dev)
return
s3c24xx_serial_probe
(
dev
,
&
s3c2412_uart_inf
);
return
s3c24xx_serial_probe
(
dev
,
&
s3c2412_uart_inf
);
}
}
static
struct
platform_driver
s3c2412_serial_dr
v
=
{
static
struct
platform_driver
s3c2412_serial_dr
iver
=
{
.
probe
=
s3c2412_serial_probe
,
.
probe
=
s3c2412_serial_probe
,
.
remove
=
__devexit_p
(
s3c24xx_serial_remove
),
.
remove
=
__devexit_p
(
s3c24xx_serial_remove
),
.
driver
=
{
.
driver
=
{
...
@@ -130,16 +130,16 @@ static struct platform_driver s3c2412_serial_drv = {
...
@@ -130,16 +130,16 @@ static struct platform_driver s3c2412_serial_drv = {
},
},
};
};
s3c24xx_console_init
(
&
s3c2412_serial_dr
v
,
&
s3c2412_uart_inf
);
s3c24xx_console_init
(
&
s3c2412_serial_dr
iver
,
&
s3c2412_uart_inf
);
static
inline
int
s3c2412_serial_init
(
void
)
static
inline
int
s3c2412_serial_init
(
void
)
{
{
return
s3c24xx_serial_init
(
&
s3c2412_serial_dr
v
,
&
s3c2412_uart_inf
);
return
s3c24xx_serial_init
(
&
s3c2412_serial_dr
iver
,
&
s3c2412_uart_inf
);
}
}
static
inline
void
s3c2412_serial_exit
(
void
)
static
inline
void
s3c2412_serial_exit
(
void
)
{
{
platform_driver_unregister
(
&
s3c2412_serial_dr
v
);
platform_driver_unregister
(
&
s3c2412_serial_dr
iver
);
}
}
module_init
(
s3c2412_serial_init
);
module_init
(
s3c2412_serial_init
);
...
...
drivers/serial/s3c2440.c
浏览文件 @
38a6fe8c
...
@@ -151,7 +151,7 @@ static int s3c2440_serial_probe(struct platform_device *dev)
...
@@ -151,7 +151,7 @@ static int s3c2440_serial_probe(struct platform_device *dev)
return
s3c24xx_serial_probe
(
dev
,
&
s3c2440_uart_inf
);
return
s3c24xx_serial_probe
(
dev
,
&
s3c2440_uart_inf
);
}
}
static
struct
platform_driver
s3c2440_serial_dr
v
=
{
static
struct
platform_driver
s3c2440_serial_dr
iver
=
{
.
probe
=
s3c2440_serial_probe
,
.
probe
=
s3c2440_serial_probe
,
.
remove
=
__devexit_p
(
s3c24xx_serial_remove
),
.
remove
=
__devexit_p
(
s3c24xx_serial_remove
),
.
driver
=
{
.
driver
=
{
...
@@ -160,16 +160,16 @@ static struct platform_driver s3c2440_serial_drv = {
...
@@ -160,16 +160,16 @@ static struct platform_driver s3c2440_serial_drv = {
},
},
};
};
s3c24xx_console_init
(
&
s3c2440_serial_dr
v
,
&
s3c2440_uart_inf
);
s3c24xx_console_init
(
&
s3c2440_serial_dr
iver
,
&
s3c2440_uart_inf
);
static
int
__init
s3c2440_serial_init
(
void
)
static
int
__init
s3c2440_serial_init
(
void
)
{
{
return
s3c24xx_serial_init
(
&
s3c2440_serial_dr
v
,
&
s3c2440_uart_inf
);
return
s3c24xx_serial_init
(
&
s3c2440_serial_dr
iver
,
&
s3c2440_uart_inf
);
}
}
static
void
__exit
s3c2440_serial_exit
(
void
)
static
void
__exit
s3c2440_serial_exit
(
void
)
{
{
platform_driver_unregister
(
&
s3c2440_serial_dr
v
);
platform_driver_unregister
(
&
s3c2440_serial_dr
iver
);
}
}
module_init
(
s3c2440_serial_init
);
module_init
(
s3c2440_serial_init
);
...
...
drivers/serial/s3c24a0.c
浏览文件 @
38a6fe8c
...
@@ -92,7 +92,7 @@ static int s3c24a0_serial_probe(struct platform_device *dev)
...
@@ -92,7 +92,7 @@ static int s3c24a0_serial_probe(struct platform_device *dev)
return
s3c24xx_serial_probe
(
dev
,
&
s3c24a0_uart_inf
);
return
s3c24xx_serial_probe
(
dev
,
&
s3c24a0_uart_inf
);
}
}
static
struct
platform_driver
s3c24a0_serial_dr
v
=
{
static
struct
platform_driver
s3c24a0_serial_dr
iver
=
{
.
probe
=
s3c24a0_serial_probe
,
.
probe
=
s3c24a0_serial_probe
,
.
remove
=
__devexit_p
(
s3c24xx_serial_remove
),
.
remove
=
__devexit_p
(
s3c24xx_serial_remove
),
.
driver
=
{
.
driver
=
{
...
@@ -101,16 +101,16 @@ static struct platform_driver s3c24a0_serial_drv = {
...
@@ -101,16 +101,16 @@ static struct platform_driver s3c24a0_serial_drv = {
},
},
};
};
s3c24xx_console_init
(
&
s3c24a0_serial_dr
v
,
&
s3c24a0_uart_inf
);
s3c24xx_console_init
(
&
s3c24a0_serial_dr
iver
,
&
s3c24a0_uart_inf
);
static
int
__init
s3c24a0_serial_init
(
void
)
static
int
__init
s3c24a0_serial_init
(
void
)
{
{
return
s3c24xx_serial_init
(
&
s3c24a0_serial_dr
v
,
&
s3c24a0_uart_inf
);
return
s3c24xx_serial_init
(
&
s3c24a0_serial_dr
iver
,
&
s3c24a0_uart_inf
);
}
}
static
void
__exit
s3c24a0_serial_exit
(
void
)
static
void
__exit
s3c24a0_serial_exit
(
void
)
{
{
platform_driver_unregister
(
&
s3c24a0_serial_dr
v
);
platform_driver_unregister
(
&
s3c24a0_serial_dr
iver
);
}
}
module_init
(
s3c24a0_serial_init
);
module_init
(
s3c24a0_serial_init
);
...
...
drivers/serial/s3c6400.c
浏览文件 @
38a6fe8c
...
@@ -122,7 +122,7 @@ static int s3c6400_serial_probe(struct platform_device *dev)
...
@@ -122,7 +122,7 @@ static int s3c6400_serial_probe(struct platform_device *dev)
return
s3c24xx_serial_probe
(
dev
,
&
s3c6400_uart_inf
);
return
s3c24xx_serial_probe
(
dev
,
&
s3c6400_uart_inf
);
}
}
static
struct
platform_driver
s3c6400_serial_dr
v
=
{
static
struct
platform_driver
s3c6400_serial_dr
iver
=
{
.
probe
=
s3c6400_serial_probe
,
.
probe
=
s3c6400_serial_probe
,
.
remove
=
__devexit_p
(
s3c24xx_serial_remove
),
.
remove
=
__devexit_p
(
s3c24xx_serial_remove
),
.
driver
=
{
.
driver
=
{
...
@@ -131,16 +131,16 @@ static struct platform_driver s3c6400_serial_drv = {
...
@@ -131,16 +131,16 @@ static struct platform_driver s3c6400_serial_drv = {
},
},
};
};
s3c24xx_console_init
(
&
s3c6400_serial_dr
v
,
&
s3c6400_uart_inf
);
s3c24xx_console_init
(
&
s3c6400_serial_dr
iver
,
&
s3c6400_uart_inf
);
static
int
__init
s3c6400_serial_init
(
void
)
static
int
__init
s3c6400_serial_init
(
void
)
{
{
return
s3c24xx_serial_init
(
&
s3c6400_serial_dr
v
,
&
s3c6400_uart_inf
);
return
s3c24xx_serial_init
(
&
s3c6400_serial_dr
iver
,
&
s3c6400_uart_inf
);
}
}
static
void
__exit
s3c6400_serial_exit
(
void
)
static
void
__exit
s3c6400_serial_exit
(
void
)
{
{
platform_driver_unregister
(
&
s3c6400_serial_dr
v
);
platform_driver_unregister
(
&
s3c6400_serial_dr
iver
);
}
}
module_init
(
s3c6400_serial_init
);
module_init
(
s3c6400_serial_init
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录