Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC ADC 100M 14b 4cha - Software
Commits
b433d6f8
Commit
b433d6f8
authored
Dec 09, 2013
by
Michel Arruat
Committed by
Federico Vaga
Apr 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix: deinit subsystems at remove time
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
2a4eb326
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
fa-core.c
kernel/fa-core.c
+8
-1
No files found.
kernel/fa-core.c
View file @
b433d6f8
...
...
@@ -310,8 +310,15 @@ out:
int
fa_remove
(
struct
fmc_device
*
fmc
)
{
struct
fa_dev
*
fa
=
fmc_get_drvdata
(
fmc
);
struct
fa_modlist
*
m
;
int
i
=
ARRAY_SIZE
(
mods
);
while
(
--
i
>=
0
)
{
m
=
mods
+
i
;
if
(
m
->
exit
)
m
->
exit
(
fa
);
}
fa_zio_exit
(
fa
);
return
0
;
}
...
...
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