Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1478585
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] dmaengine: cppi41: mark PM functions as __maybe_unused |
| Date | 2016-09-07 22:00 +0200 |
| Message-ID | <seRaO-47g-17@gated-at.bofh.it> (permalink) |
| References | <seoBQ-2y1-39@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Arnd Bergmann <arnd@arndb.de> [160906 06:20]:
> When CONFIG_PM_SLEEP is disabled, we get a build error in
> the cppi41 dmaengine driver, since the runtime-pm functions
> are hidden within the wrong #ifdef:
>
> drivers/dma/cppi41.c:1158:21: error: 'cppi41_runtime_suspend' undeclared here (not in a function)
>
> This removes the #ifdef and instead uses __maybe_unused
> annotations that cannot have this problem.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: fdea2d09b997 ("dmaengine: cppi41: Add basic PM runtime support")
Thanks for fixing it:
Acked-by: Tony Lindgren <tony@atomide.com>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] dmaengine: cppi41: mark PM functions as __maybe_unused Arnd Bergmann <arnd@arndb.de> - 2016-09-06 15:30 +0200 Re: [PATCH] dmaengine: cppi41: mark PM functions as __maybe_unused Tony Lindgren <tony@atomide.com> - 2016-09-07 22:00 +0200
csiph-web