/* * Procfs support for lockd * * Copyright (c) 2014 Jeff Layton */ #ifndef _LOCKD_PROCFS_H #define _LOCKD_PROCFS_H #if IS_ENABLED(CONFIG_PROC_FS) int lockd_create_procfs(void); void lockd_remove_procfs(void); #else static inline int lockd_create_procfs(void) { return 0; } static inline void lockd_remove_procfs(void) { return; } #endif /* IS_ENABLED(CONFIG_PROC_FS) */ #endif /* _LOCKD_PROCFS_H */ epository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2016-12-06 15:08:16 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-12-29 21:04:45 +0100
commitf24d311f92b516a8aadef5056424ccabb4068e7b (patch)
tree4df10ebef5093d3ac941c4734345326501f57eca
parent2983f296f2327bc517e3b29344fce82271160197 (diff)
pinctrl: meson: fix gpio request disabling other modes
The pinctrl_gpio_request is called with the "full" gpio number, already containing the base, then meson_pmx_request_gpio is then called with the final pin number. Remove the base addition when calling meson_pmx_disable_other_groups. Fixes: 6ac730951104 ("pinctrl: add driver for Amlogic Meson SoCs") CC: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Acked-by: Kevin Hilman <khilman@baylibre.com> Acked-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>