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
96536725
Commit
96536725
authored
Nov 22, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated
parent
a116cddc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
elphel393-pwr.c
src/drivers/elphel/elphel393-pwr.c
+7
-2
No files found.
src/drivers/elphel/elphel393-pwr.c
View file @
96536725
...
@@ -262,8 +262,13 @@ static ssize_t pbad_show(struct device *dev, struct device_attribute *attr, char
...
@@ -262,8 +262,13 @@ static ssize_t pbad_show(struct device *dev, struct device_attribute *attr, char
static
ssize_t
enable_por_show
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
char
*
buf
);
static
ssize_t
enable_por_show
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
char
*
buf
);
static
ssize_t
enable_por_store
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
const
char
*
buf
,
size_t
count
);
static
ssize_t
enable_por_store
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
const
char
*
buf
,
size_t
count
);
static
ssize_t
gpio_10389_get
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
char
*
buf
);
static
ssize_t
gpio_10389_get
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
char
*
buf
);
static
ssize_t
gpio_10389_set
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
char
*
buf
,
size_t
count
);
// Elphel, Rocko: needed const char
static
ssize_t
gpio_poweroff
(
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, char *buf, size_t count);
static
ssize_t
gpio_10389_set
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
const
char
*
buf
,
size_t
count
);
// Elphel, Rocko: needed const char
//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
,
const
char
*
buf
,
size_t
count
);
static
ssize_t
detected_10389_get
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
char
*
buf
);
static
ssize_t
detected_10389_get
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
char
*
buf
);
static
int
gpio_shutdown
(
struct
device
*
dev
);
static
int
gpio_shutdown
(
struct
device
*
dev
);
...
...
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