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
522c37b9
Commit
522c37b9
authored
Jun 22, 2005
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ARM: Fix sa1111.c build error caused by klist changes
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
2a5a68b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
arch/arm/common/sa1111.c
arch/arm/common/sa1111.c
+7
-6
No files found.
arch/arm/common/sa1111.c
View file @
522c37b9
...
...
@@ -721,16 +721,17 @@ __sa1111_probe(struct device *me, struct resource *mem, int irq)
return
ret
;
}
static
int
sa1111_remove_one
(
struct
device
*
dev
,
void
*
data
)
{
device_unregister
(
dev
);
return
0
;
}
static
void
__sa1111_remove
(
struct
sa1111
*
sachip
)
{
struct
list_head
*
l
,
*
n
;
void
__iomem
*
irqbase
=
sachip
->
base
+
SA1111_INTC
;
list_for_each_safe
(
l
,
n
,
&
sachip
->
dev
->
children
)
{
struct
device
*
d
=
list_to_dev
(
l
);
device_unregister
(
d
);
}
device_for_each_child
(
sachip
->
dev
,
NULL
,
sa1111_remove_one
);
/* disable all IRQs */
sa1111_writel
(
0
,
irqbase
+
SA1111_INTEN0
);
...
...
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