Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
14
Issues
14
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 VME FMC Carrier SVEC
Commits
aae86210
Commit
aae86210
authored
Nov 24, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: bugfix take the svec_dev ptr correctly
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
c61322a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
svec-core-fpga.c
software/kernel/svec-core-fpga.c
+1
-1
No files found.
software/kernel/svec-core-fpga.c
View file @
aae86210
...
...
@@ -383,11 +383,11 @@ static inline size_t __fpga_mfd_devs_size(void)
static
int
svec_fpga_devices_init
(
struct
svec_fpga
*
svec_fpga
)
{
struct
vme_dev
*
vdev
=
to_vme_dev
(
svec_fpga
->
dev
.
parent
->
parent
);
struct
svec_dev
*
svec_dev
=
dev_get_drvdata
(
&
vdev
->
dev
);
struct
mfd_cell
*
fpga_mfd_devs
;
struct
irq_domain
*
vic_domain
;
unsigned
int
n_mfd
=
0
;
int
err
;
struct
svec_dev
*
svec_dev
=
dev_get_drvdata
(
svec_fpga
->
dev
.
parent
);
fpga_mfd_devs
=
devm_kzalloc
(
&
svec_fpga
->
dev
,
__fpga_mfd_devs_size
(),
...
...
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