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
authorLinus Walleij <linus.walleij@linaro.org>2016-08-24 13:51:33 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-09-08 00:42:57 +0200
commitc6c864993d9a20f8d7cacb4feaac5c46a2f2e4db (patch)
tree9bfd7ce158d83419c7221dd27008cd9a10d7d40a
parentc6935931c1894ff857616ff8549b61236a19148f (diff)
Revert "gpio: include <linux/io-mapping.h> in gpiolib-of"
This reverts commit 7d4defe21c682c934a19fce1ba8b54b7bde61b08. The commit was pointless, manically trembling in the dark for a solution. The real fixes are: commit 048c28c91e56 ("gpio: make any OF dependent driver depend on OF_GPIO") commit 2527ecc9195e ("gpio: Fix OF build problem on UM") Reported-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat