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
9ea2a9dd
Commit
9ea2a9dd
authored
Dec 10, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Add resources for sa11x0ir device.
parent
3a2ef8db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
arch/arm/mach-sa1100/generic.c
arch/arm/mach-sa1100/generic.c
+22
-0
No files found.
arch/arm/mach-sa1100/generic.c
View file @
9ea2a9dd
...
...
@@ -283,9 +283,31 @@ void sa11x0_set_flash_data(struct flash_platform_data *flash,
sa11x0mtd_device
.
num_resources
=
nr
;
}
static
struct
resource
sa11x0ir_resources
[]
=
{
{
.
start
=
__PREG
(
Ser2UTCR0
),
.
end
=
__PREG
(
Ser2UTCR0
)
+
0x24
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
{
.
start
=
__PREG
(
Ser2HSCR0
),
.
end
=
__PREG
(
Ser2HSCR0
)
+
0x1c
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
{
.
start
=
__PREG
(
Ser2HSCR2
),
.
end
=
__PREG
(
Ser2HSCR2
)
+
0x04
-
1
,
.
flags
=
IORESOURCE_MEM
,
},
{
.
start
=
IRQ_Ser2ICP
,
.
end
=
IRQ_Ser2ICP
,
.
flags
=
IORESOURCE_IRQ
,
}
};
static
struct
platform_device
sa11x0ir_device
=
{
.
name
=
"sa11x0-ir"
,
.
id
=
-
1
,
.
num_resources
=
ARRAY_SIZE
(
sa11x0ir_resources
),
.
resource
=
sa11x0ir_resources
,
};
void
sa11x0_set_irda_data
(
struct
irda_platform_data
*
irda
)
...
...
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