Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
2d51a521
Commit
2d51a521
authored
Jan 04, 2010
by
Eric Miao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *'
Signed-off-by:
Eric Miao
<
eric.y.miao@gmail.com
>
parent
548c6af4
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
9 deletions
+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
No files found.
arch/arm/mach-pxa/magician.c
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment