summaryrefslogtreecommitdiff
path: root/sysctl.h
blob: 332380b102dd7dc976097e76bf059b332f8febb2 (plain)
1
2
3
4
5
6
7
8
9
#ifndef SYSCTL_H
#define SYSCTL_H

#define SYSCTL_PROC_PATH "/proc/sys/"

int sysctl_set_int(const char *file, int value);
int sysctl_get_int(const char *file, int *value);

#endif
on value='8'>8space:mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-07-26 17:11:30 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-07-26 14:53:19 -0700
commit2321f049a93368fffc3375cfbf2f9f9561ef1e69 (patch)
tree0b212e06594da6a22a74c73f08b6d4648ab4f648 /drivers/staging
parent112f563e1879ab73853fed9d875f45d96d5990fd (diff)
greybus: operation: clean up request handler
Clean up the incoming request handler somewhat by passing a properly aligned header and dropping the now redundant id and type parameters. Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@linaro.org> Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging')