Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
2d51a521
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
2d51a521
编写于
1月 04, 2010
作者:
E
Eric Miao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *'
Signed-off-by:
N
Eric Miao
<
eric.y.miao@gmail.com
>
上级
548c6af4
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
9 addition
and
9 deletion
+9
-9
arch/arm/mach-pxa/magician.c
arch/arm/mach-pxa/magician.c
+1
-1
arch/arm/mach-pxa/palmld.c
arch/arm/mach-pxa/palmld.c
+1
-1
arch/arm/mach-pxa/palmt5.c
arch/arm/mach-pxa/palmt5.c
+1
-1
arch/arm/mach-pxa/palmtc.c
arch/arm/mach-pxa/palmtc.c
+1
-1
arch/arm/mach-pxa/palmte2.c
arch/arm/mach-pxa/palmte2.c
+1
-1
arch/arm/mach-pxa/palmtreo.c
arch/arm/mach-pxa/palmtreo.c
+1
-1
arch/arm/mach-pxa/palmtx.c
arch/arm/mach-pxa/palmtx.c
+1
-1
arch/arm/mach-pxa/palmz72.c
arch/arm/mach-pxa/palmz72.c
+1
-1
arch/arm/mach-pxa/viper.c
arch/arm/mach-pxa/viper.c
+1
-1
未找到文件。
arch/arm/mach-pxa/magician.c
浏览文件 @
2d51a521
...
...
@@ -381,7 +381,7 @@ static int magician_backlight_init(struct device *dev)
return
ret
;
}
static
int
magician_backlight_notify
(
int
brightness
)
static
int
magician_backlight_notify
(
struct
device
*
dev
,
int
brightness
)
{
gpio_set_value
(
EGPIO_MAGICIAN_BL_POWER
,
brightness
);
if
(
brightness
>=
200
)
{
...
...
arch/arm/mach-pxa/palmld.c
浏览文件 @
2d51a521
...
...
@@ -270,7 +270,7 @@ static int palmld_backlight_init(struct device *dev)
return
ret
;
}
static
int
palmld_backlight_notify
(
int
brightness
)
static
int
palmld_backlight_notify
(
struct
device
*
dev
,
int
brightness
)
{
gpio_set_value
(
GPIO_NR_PALMLD_BL_POWER
,
brightness
);
gpio_set_value
(
GPIO_NR_PALMLD_LCD_POWER
,
brightness
);
...
...
arch/arm/mach-pxa/palmt5.c
浏览文件 @
2d51a521
...
...
@@ -209,7 +209,7 @@ static int palmt5_backlight_init(struct device *dev)
return
ret
;
}
static
int
palmt5_backlight_notify
(
int
brightness
)
static
int
palmt5_backlight_notify
(
struct
device
*
dev
,
int
brightness
)
{
gpio_set_value
(
GPIO_NR_PALMT5_BL_POWER
,
brightness
);
gpio_set_value
(
GPIO_NR_PALMT5_LCD_POWER
,
brightness
);
...
...
arch/arm/mach-pxa/palmtc.c
浏览文件 @
2d51a521
...
...
@@ -185,7 +185,7 @@ static int palmtc_backlight_init(struct device *dev)
return
ret
;
}
static
int
palmtc_backlight_notify
(
int
brightness
)
static
int
palmtc_backlight_notify
(
struct
device
*
dev
,
int
brightness
)
{
/* backlight is on when GPIO16 AF0 is high */
gpio_set_value
(
GPIO_NR_PALMTC_BL_POWER
,
brightness
);
...
...
arch/arm/mach-pxa/palmte2.c
浏览文件 @
2d51a521
...
...
@@ -181,7 +181,7 @@ static int palmte2_backlight_init(struct device *dev)
return
ret
;
}
static
int
palmte2_backlight_notify
(
int
brightness
)
static
int
palmte2_backlight_notify
(
struct
device
*
dev
,
int
brightness
)
{
gpio_set_value
(
GPIO_NR_PALMTE2_BL_POWER
,
brightness
);
gpio_set_value
(
GPIO_NR_PALMTE2_LCD_POWER
,
brightness
);
...
...
arch/arm/mach-pxa/palmtreo.c
浏览文件 @
2d51a521
...
...
@@ -375,7 +375,7 @@ static int treo_backlight_init(struct device *dev)
return
ret
;
}
static
int
treo_backlight_notify
(
int
brightness
)
static
int
treo_backlight_notify
(
struct
device
*
dev
,
int
brightness
)
{
gpio_set_value
(
GPIO_NR_TREO_BL_POWER
,
brightness
);
return
TREO_MAX_INTENSITY
-
brightness
;
...
...
arch/arm/mach-pxa/palmtx.c
浏览文件 @
2d51a521
...
...
@@ -269,7 +269,7 @@ static int palmtx_backlight_init(struct device *dev)
return
ret
;
}
static
int
palmtx_backlight_notify
(
int
brightness
)
static
int
palmtx_backlight_notify
(
struct
device
*
dev
,
int
brightness
)
{
gpio_set_value
(
GPIO_NR_PALMTX_BL_POWER
,
brightness
);
gpio_set_value
(
GPIO_NR_PALMTX_LCD_POWER
,
brightness
);
...
...
arch/arm/mach-pxa/palmz72.c
浏览文件 @
2d51a521
...
...
@@ -196,7 +196,7 @@ static int palmz72_backlight_init(struct device *dev)
return
ret
;
}
static
int
palmz72_backlight_notify
(
int
brightness
)
static
int
palmz72_backlight_notify
(
struct
device
*
dev
,
int
brightness
)
{
gpio_set_value
(
GPIO_NR_PALMZ72_BL_POWER
,
brightness
);
gpio_set_value
(
GPIO_NR_PALMZ72_LCD_POWER
,
brightness
);
...
...
arch/arm/mach-pxa/viper.c
浏览文件 @
2d51a521
...
...
@@ -379,7 +379,7 @@ static int viper_backlight_init(struct device *dev)
return
ret
;
}
static
int
viper_backlight_notify
(
int
brightness
)
static
int
viper_backlight_notify
(
struct
device
*
dev
,
int
brightness
)
{
gpio_set_value
(
VIPER_LCD_EN_GPIO
,
!!
brightness
);
gpio_set_value
(
VIPER_BCKLIGHT_EN_GPIO
,
!!
brightness
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录