summaryrefslogtreecommitdiff
path: root/iosched.h
blob: 19ff1ff9d859eaecb6683d6a773e4802e906b4bf (plain)
1
2
3
4
5
6
7
8
#ifndef IOSCHED_H
#define IOSCHED_H

extern void ioprio_print(void);
extern void set_ioprio_rt(void);
extern void set_ioprio_be(void);

#endif /* IOSCHED_H */
/option>space:mode:
authorArnd Bergmann <arnd@arndb.de>2016-07-06 14:54:03 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-07-22 15:29:32 +0200
commit0bfb85c6ba620c39c0e5124851a1bea0f5a56e05 (patch)
tree819d363c26a62ae26692b4f66d2691c4870b9b4e /Documentation
parent92d21ac74a9e3c09b0b01c764e530657e4c85c49 (diff)
gpio: tegra: don't auto-enable for COMPILE_TEST
I stumbled over a build error with COMPILE_TEST and CONFIG_OF disabled: drivers/gpio/gpio-tegra.c: In function 'tegra_gpio_probe': drivers/gpio/gpio-tegra.c:603:9: error: 'struct gpio_chip' has no member named 'of_node' The problem is that the newly added GPIO_TEGRA Kconfig symbol does not have a dependency on CONFIG_OF. However, there is another problem here as the driver gets enabled unconditionally whenever COMPILE_TEST is set. This fixes both problems, by making the symbol user-visible when COMPILE_TEST is set and default-enabled for ARCH_TEGRA=y. As a side-effect, it is now possible to compile-test a Tegra kernel with GPIO support disabled, which is harmless. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 4dd4dd1d2120 ("gpio: tegra: Allow compile test") Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation')