Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
ed43d2a0
Commit
ed43d2a0
authored
Nov 22, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated
parent
96536725
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
elphel393-pwr.c
src/drivers/elphel/elphel393-pwr.c
+2
-2
No files found.
src/drivers/elphel/elphel393-pwr.c
View file @
ed43d2a0
...
...
@@ -616,7 +616,7 @@ static ssize_t enable_por_store(struct device *dev, struct device_attribute *att
return
count
;
}
static
ssize_t
gpio_10389_set
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
char
*
buf
,
size_t
count
)
static
ssize_t
gpio_10389_set
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
c
onst
c
har
*
buf
,
size_t
count
)
{
int
result
;
int
value
;
...
...
@@ -647,7 +647,7 @@ static ssize_t detected_10389_get(struct device *dev, struct device_attribute *a
return
sprintf
(
buf
,
"%i"
,
res
);
}
static
ssize_t
gpio_poweroff
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
char
*
buf
,
size_t
count
)
static
ssize_t
gpio_poweroff
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
c
onst
c
har
*
buf
,
size_t
count
)
{
int
rc
=
gpio_shutdown
(
dev
);
if
(
rc
<
0
)
return
rc
;
...
...
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