Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
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
Simple PCIe FMC carrier SPEC
Commits
03197175
Commit
03197175
authored
Jun 19, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: return fmc_carrier_unregister() error
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
55017a23
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
spec-fmc.c
kernel/spec-fmc.c
+2
-1
spec.h
kernel/spec.h
+1
-1
No files found.
kernel/spec-fmc.c
View file @
03197175
...
...
@@ -164,7 +164,7 @@ err_i2c:
return
-
1
;
}
void
spec_fmc_exit
(
struct
spec_dev
*
spec
)
int
spec_fmc_exit
(
struct
spec_dev
*
spec
)
{
int
err
;
...
...
@@ -173,4 +173,5 @@ void spec_fmc_exit(struct spec_dev *spec)
dev_err
(
spec
->
dev
.
parent
,
"Failed to unregister from FMC
\n
"
);
spec_i2c_del
(
spec
);
return
err
;
}
kernel/spec.h
View file @
03197175
...
...
@@ -238,7 +238,7 @@ extern int spec_dbg_init(struct spec_dev *spec);
extern
void
spec_dbg_exit
(
struct
spec_dev
*
spec
);
extern
int
spec_fmc_init
(
struct
spec_dev
*
spec
);
extern
void
spec_fmc_exit
(
struct
spec_dev
*
spec
);
extern
int
spec_fmc_exit
(
struct
spec_dev
*
spec
);
extern
void
spec_gpio_fpga_select
(
struct
spec_dev
*
spec
,
enum
spec_fpga_select
sel
);
...
...
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