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
79c98128
Commit
79c98128
authored
Oct 27, 2010
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: mach-x3proto: irq_data conversion.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
5f010384
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
arch/sh/boards/mach-x3proto/gpio.c
arch/sh/boards/mach-x3proto/gpio.c
+4
-3
No files found.
arch/sh/boards/mach-x3proto/gpio.c
View file @
79c98128
...
...
@@ -54,18 +54,19 @@ static int x3proto_gpio_to_irq(struct gpio_chip *chip, unsigned gpio)
static
void
x3proto_gpio_irq_handler
(
unsigned
int
irq
,
struct
irq_desc
*
desc
)
{
struct
irq_chip
*
chip
=
get_irq_desc_chip
(
desc
);
struct
irq_data
*
data
=
irq_get_irq_data
(
irq
);
struct
irq_chip
*
chip
=
irq_data_get_irq_chip
(
data
);
unsigned
long
mask
;
int
pin
;
chip
->
mask_ack
(
irq
);
chip
->
irq_mask_ack
(
data
);
mask
=
__raw_readw
(
KEYDETR
);
for_each_set_bit
(
pin
,
&
mask
,
NR_BASEBOARD_GPIOS
)
generic_handle_irq
(
x3proto_gpio_to_irq
(
NULL
,
pin
));
chip
->
unmask
(
irq
);
chip
->
irq_unmask
(
data
);
}
struct
gpio_chip
x3proto_gpio_chip
=
{
...
...
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