2016-03-11 16:49 GMT+09:00 Krzysztof Kozlowski :
> Replace ifdef with __maybe_unused to silence compiler warning on when
> SUSPEND=n and PM=y:
>
> drivers/char/hw_random/exynos-rng.c:166:12: warning: ‘exynos_rng_suspend’
> defined but not used [-Wunused-function]
>
2016-03-11 16:49 GMT+09:00 Krzysztof Kozlowski :
> Replace ifdef with __maybe_unused to silence compiler warning on when
> SUSPEND=n and PM=y:
>
> drivers/char/hw_random/exynos-rng.c:166:12: warning: ‘exynos_rng_suspend’
> defined but not used [-Wunused-function]
> static int
Replace ifdef with __maybe_unused to silence compiler warning on when
SUSPEND=n and PM=y:
drivers/char/hw_random/exynos-rng.c:166:12: warning: ‘exynos_rng_suspend’
defined but not used [-Wunused-function]
static int exynos_rng_suspend(struct device *dev)
^
Replace ifdef with __maybe_unused to silence compiler warning on when
SUSPEND=n and PM=y:
drivers/char/hw_random/exynos-rng.c:166:12: warning: ‘exynos_rng_suspend’
defined but not used [-Wunused-function]
static int exynos_rng_suspend(struct device *dev)
^
4 matches
Mail list logo