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
41733e89
Commit
41733e89
authored
Jan 18, 2012
by
Paul Mundt
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rmobile/kota2' into rmobile-fixes-for-linus
parents
c2bc3a31
2fde109c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
arch/arm/mach-shmobile/board-kota2.c
arch/arm/mach-shmobile/board-kota2.c
+1
-2
arch/arm/mach-shmobile/include/mach/sh73a0.h
arch/arm/mach-shmobile/include/mach/sh73a0.h
+3
-3
arch/arm/mach-shmobile/intc-sh73a0.c
arch/arm/mach-shmobile/intc-sh73a0.c
+2
-0
No files found.
arch/arm/mach-shmobile/board-kota2.c
View file @
41733e89
...
...
@@ -143,11 +143,10 @@ static struct gpio_keys_button gpio_buttons[] = {
static
struct
gpio_keys_platform_data
gpio_key_info
=
{
.
buttons
=
gpio_buttons
,
.
nbuttons
=
ARRAY_SIZE
(
gpio_buttons
),
.
poll_interval
=
250
,
/* polled for now */
};
static
struct
platform_device
gpio_keys_device
=
{
.
name
=
"gpio-keys
-polled"
,
/* polled for now */
.
name
=
"gpio-keys
"
,
.
id
=
-
1
,
.
dev
=
{
.
platform_data
=
&
gpio_key_info
,
...
...
arch/arm/mach-shmobile/include/mach/sh73a0.h
View file @
41733e89
...
...
@@ -515,8 +515,8 @@ enum {
SHDMA_SLAVE_MMCIF_RX
,
};
/* PINT interrupts are located at Linux IRQ
768
and up */
#define SH73A0_PINT0_IRQ(irq) ((irq) +
768
)
#define SH73A0_PINT1_IRQ(irq) ((irq) + 8
00
)
/* PINT interrupts are located at Linux IRQ
800
and up */
#define SH73A0_PINT0_IRQ(irq) ((irq) +
800
)
#define SH73A0_PINT1_IRQ(irq) ((irq) + 8
32
)
#endif
/* __ASM_SH73A0_H__ */
arch/arm/mach-shmobile/intc-sh73a0.c
View file @
41733e89
...
...
@@ -19,6 +19,7 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/sh_intc.h>
...
...
@@ -445,6 +446,7 @@ void __init sh73a0_init_irq(void)
setup_irq
(
gic_spi
(
1
+
k
),
&
sh73a0_irq_pin_cascade
[
k
]);
n
=
intcs_evt2irq
(
to_intc_vect
(
gic_spi
(
1
+
k
)));
WARN_ON
(
irq_alloc_desc_at
(
n
,
numa_node_id
())
!=
n
);
irq_set_chip_and_handler_name
(
n
,
&
intca_gic_irq_chip
,
handle_level_irq
,
"level"
);
set_irq_flags
(
n
,
IRQF_VALID
);
/* yuck */
...
...
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