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
nexedi
linux
Commits
2c30da71
Commit
2c30da71
authored
Jan 24, 2008
by
Jesper Nilsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CRIS v32: ETRAX FS Change name of LED macros in drivers/mach-fs/gpio.c to avoid collision.
parent
cacc0cc8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
arch/cris/arch-v32/drivers/mach-fs/gpio.c
arch/cris/arch-v32/drivers/mach-fs/gpio.c
+8
-8
No files found.
arch/cris/arch-v32/drivers/mach-fs/gpio.c
View file @
2c30da71
...
...
@@ -181,7 +181,7 @@ static volatile unsigned long *dir_oe[NUM_PORTS] = {
static
unsigned
int
gpio_poll
(
struct
file
*
file
,
struct
poll_table
*
wait
)
static
unsigned
int
gpio_poll
(
struct
file
*
file
,
struct
poll_table
_struct
*
wait
)
{
unsigned
int
mask
=
0
;
struct
gpio_private
*
priv
=
(
struct
gpio_private
*
)
file
->
private_data
;
...
...
@@ -841,8 +841,8 @@ gpio_leds_ioctl(unsigned int cmd, unsigned long arg)
case
IO_LEDACTIVE_SET
:
green
=
((
unsigned
char
)
arg
)
&
1
;
red
=
(((
unsigned
char
)
arg
)
>>
1
)
&
1
;
LED_ACTIVE_SET_G
(
green
);
LED_ACTIVE_SET_R
(
red
);
CRIS_
LED_ACTIVE_SET_G
(
green
);
CRIS_
LED_ACTIVE_SET_R
(
red
);
break
;
default:
...
...
@@ -938,11 +938,11 @@ gpio_init(void)
}
/* Clear all leds */
LED_NETWORK_GRP0_SET
(
0
);
LED_NETWORK_GRP1_SET
(
0
);
LED_ACTIVE_SET
(
0
);
LED_DISK_READ
(
0
);
LED_DISK_WRITE
(
0
);
CRIS_
LED_NETWORK_GRP0_SET
(
0
);
CRIS_
LED_NETWORK_GRP1_SET
(
0
);
CRIS_
LED_ACTIVE_SET
(
0
);
CRIS_
LED_DISK_READ
(
0
);
CRIS_
LED_DISK_WRITE
(
0
);
printk
(
KERN_INFO
"ETRAX FS GPIO driver v2.5, (c) 2003-2007 "
"Axis Communications AB
\n
"
);
...
...
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