#include #include #include "timer.h" void set_itimer_interval_value(struct itimerval *itimer, unsigned long sec, unsigned long usec) { itimer->it_interval.tv_sec = sec; itimer->it_interval.tv_usec = usec; itimer->it_value.tv_sec = sec; itimer->it_value.tv_usec = usec; } int get_user_hz(void) { return sysconf(_SC_CLK_TCK); } rs/pinctrl/sunxi/Kconfig?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-05-13 17:23:17 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-23 00:01:50 +0200
commitb22116b33af3834110b76e161df35df49c761d35 (patch)
treeacb291a12fa854671b99ff2342e29890a174aaa2 /drivers/pinctrl/sunxi/Kconfig
parentc51426efd3fa716e175da3b2f52c3ca0837fe737 (diff)
pinctrl: sunxi: Enable the pinctrl Kconfig options by default
Enable the freshly introduced Kconfig options whenever their matching architecture is enabled. Since the Kconfig symbols for these machines are going through a different tree, keep PINCTRL_SUNXI around for the moment to avoid breaking the defconfig. It should be removed eventually. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi/Kconfig')