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
2c346508
Commit
2c346508
authored
Dec 01, 2022
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: rename sysfs attr to firmware_name
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
af32268c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
svec-core.c
software/kernel/svec-core.c
+3
-3
No files found.
software/kernel/svec-core.c
View file @
2c346508
...
...
@@ -69,7 +69,7 @@ static int svec_fw_load(struct svec_dev *svec_dev, const char *name)
return
err
;
}
static
ssize_t
svec_fpga_firmwar
e_store
(
struct
device
*
dev
,
static
ssize_t
firmware_nam
e_store
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
const
char
*
buf
,
size_t
count
)
...
...
@@ -101,10 +101,10 @@ static ssize_t svec_fpga_firmware_store(struct device *dev,
return
err
?
err
:
count
;
}
static
DEVICE_ATTR_WO
(
svec_fpga_firmwar
e
);
static
DEVICE_ATTR_WO
(
firmware_nam
e
);
static
struct
attribute
*
svec_sys_dev_attrs
[]
=
{
&
dev_attr_
svec_fpga_firmwar
e
.
attr
,
&
dev_attr_
firmware_nam
e
.
attr
,
NULL
};
...
...
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